Jump to content
Excelsior Forums

Random memory leak

Recommended Posts

Ok...this is strange.

I don't know how long this has been happening, and it is random, so it is difficult to track down. It seems that only sometimes my executable develops a memory leak during a thread execution, but other times it runs fine doing the exact same thing.

For example, I start-up my executable and watch the task manager to see how much memory is taken after everything settles down (all windows open, etc.). I have been using the same test every time...I simply start a thread. It doesn't seem to matter what thread, just any thread, and the memory starts accumulating until I get an "Uncaught exception: Out of Memory" error (after only a few hundred k by the way). However, sometimes it runs fine, and it always runs fine after a fresh boot or restart.

I know you don't like to hear this, but it runs fine every time as a .jar...it is my only other reference. I guess I am hoping that this is common and you will know what it is right away. I have tried many different settings for memory and garbage collection with the same results.

Windows XP SP3

JET 6.4 (6.10)

2 gig Ram

Any ideas?

Thank you,


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now