-
1. Re: Memory Issues
dhillipa Oct 14, 2002 12:45 AM (in response to respinola)U need a better system with virtual memory ......
-
2. Re: Memory Issues
moraelin Oct 15, 2002 7:23 AM (in response to respinola)Actually, I would _not_ recommend running into virtual memory with any Java application. Java does _not_ play nice with swapping, and that's actually putting it very mildly. It will cause thrashing (i.e., the phenomenon where the system ends up loading and unloading pages almost immediately) without end, and especially when the garbage collector kicks in... you _feel_ it.
-
3. Re: Memory Issues
zhigang Oct 24, 2002 11:49 AM (in response to respinola)I agree, additionally, no matter how advanced you machine is and how big the virtual memory you set, there is still a limit.
Currently, I'm facing a different problem. In my application, I try to constantly create and delete entiry beans. With JProbe you can monitor the memory usage. The result is the memory keep on increasing until the whole system runs out of memory.
Any ideas on how to handle this? JBoss does have memory leak.
Thanks
John -
4. Re: Memory Issues
joelvogt Oct 27, 2002 6:48 PM (in response to respinola)what jboss version is this you think you have the memory leak with?
-
5. Re: Memory Issues
zhigang Oct 31, 2002 6:31 PM (in response to respinola)The version I'm running is 2.4.4 but I tried 2.4.9 and 2.4.10 beta. they have the same problem. I've already logged a bug into the sourceforge. The number is: 631335 and it's under JBossCMP, v2.4 category.
I also put a simple test case (originally from JBoss CD example)there. -
6. Re: Memory Issues
zhigang Oct 31, 2002 6:31 PM (in response to respinola)The version I'm running is 2.4.4 but I tried 2.4.9 and 2.4.10 beta. they have the same problem. I've already logged a bug into the sourceforge. The number is: 631335 and it's under JBossCMP, v2.4 category.
I also put a simple test case (originally from JBoss CD example)there. -
7. Re: Memory Issues
zhigang Oct 31, 2002 6:32 PM (in response to respinola)The version I'm running is 2.4.4 but I tried 2.4.9 and 2.4.10 beta. they have the same problem. I've already logged a bug into the sourceforge. The number is: 631335 and it's under JBossCMP, v2.4 category.
I also put a simple test case (originally from JBoss CD example)there. -
8. Re: Memory Issues
okidoky Nov 7, 2002 6:38 PM (in response to respinola)I recommend to always use the -Xincgc option to the VM to turn on the incremental garbage collector. I have found that you can't run anything serious without it. In fact, I think it should be the default for the VM.
-
9. Re: Memory Issues
okidoky Nov 7, 2002 6:39 PM (in response to respinola)I recommend to always use the -Xincgc option to the VM to turn on the incremental garbage collector. I have found that you can't run anything serious without it. In fact, I think it should be the default for the VM.