i have a program with 1 thread that run all the time and after I make connection to the internet - my memory get bigger with more than 25000 bytes and it all the time grow
how can I make it smaller?

Recommended Answers

All 3 Replies

What sort of things does your code do. Common calls that sort of thing.
It may be that adding some dispose() calls would reduce your memory load.

the code show picture and the user can move the picture : down,right,left,up

Are you directly accessing the graphics object to move the picture?
Posting an example of your code would be useful (particularly the mechanism you are using to move the picture).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.