[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Out of Memory

I'm curious did Eclipse lockup or crash when it ran out of memory? I've got a very simple program that reads from a database. It using a brute force design and and read 74,000 records into a collection. This when I added log4j debug statements yesterday, the program would lock up Eclipse. One time it came up with an out of memory exception.

I just added the -vmargs |Xmx256m|. It work fine. I did notice that the -vmargs -|Xmx256m| must be at the end of you command line or it won't work. I think anything after -vmargs is ignored by Eclipse and sent untouched to the vm. Thus, if you have Eclipse arguments after -vmargs they get sent to the vm. The vm has no clue what this all about.

I'm wondering have I found a bug in Eclipse?

Thanks,

Jeff