Garbage Collector Problem
"Marco Rotellini" <[email protected]> Fri, 23 Dec 2005 14:13:44 +0100
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
hi, I'm new to sablevm and just arrived porting sablevm to a linux/arm9 based microcontroller and it runs! now i run a test application that extensively creates new objects and consumes lot of heap space. when running this app on a linux/x86 system with a sun 1.4 vm, the used memroy increases and from time to time is freed. i guess the gc does its work in the background. running the same app on my linux/arm9 system with sablevm causes the app to crash after a while saying "out of memory". i enforce the gc to do its work by periodically call System.gc(). when doing this, the problem seems to be solved (at least after a 24h test run) -> the free memory on the system remains more or less the same. but it's not satisfying. so my question is: why does sablevm's gc not recognize the fatal out of memory situation, when the free memory drifts to 0? are there any options to set when starting the vm to affect the gc's behaviour? thanks for any help! marco _______________________________________________ SableVM-user mailing list [email protected] http://sablevm.org/lists/control/listinfo/sablevm-user