List Info

Thread: Java out-of-memory issue




Java out-of-memory issue
country flaguser name
United States
2008-05-20 10:42:12

This is perhaps not a question for this mailing list. But, I thought I would post it anyway, as someone might have some insight into this problem.

 

We are using a TS7250, running the Java J9 VM. Every so often, there are “java.lang.OutOfMemoryError” exceptions thrown in the code. There seems to be no consistencies to the problem. It sometimes happens within hours of rebooting the TS, or sometimes within days, or sometimes not at all.

 

As a result of not being inconsistently reproducible, the out-of-memory issue has been very difficult to resolve. When we profile our code in the PC environment using a commercially available profiler, no memory leaks are apparent. It only happens in the embedded TS environment.

 

I’m wondering if the out-of-memory issue could be happening as the result of some external event, possibly in the Ethernet driver, or maybe during writes to a log, etc. …

 

If anyone has any thoughts about this very difficult problem, or any insights about how to troubleshoot, I would love to hear.

 

Thanks in advance.

 

~Brian

 

 

__._,_.___
.

__,_._,___
Re: Java out-of-memory issue
country flaguser name
Canada
2008-05-21 19:48:13

Hi Brian,


It's unlikely that the problem is that the device is taking more memory.

Java is given a certain amount of memory to work with when the virtual machine starts.

My guess is you are just getting less memory on this platform and running out.

Dave
On 20-May-08, at 11:42 AM, Brian Jewell wrote:


This is perhaps not a question for this mailing list. But, I thought I would post it anyway, as someone might have some insight into this problem.

 

We are using a TS7250, running the Java J9 VM. Every so often, there are “java.lang.OutOfMemoryError” exceptions thrown in the code. There seems to be no consistencies to the problem. It sometimes happens within hours of rebooting the TS, or sometimes within days, or sometimes not at all.

 

As a result of not being inconsistently reproducible, the out-of-memory issue has been very difficult to resolve. When we profile our code in the PC environment using a commercially available profiler, no memory leaks are apparent. It only happens in the embedded TS environment.

 

I’m wondering if the out-of-memory issue could be happening as the result of some external event, possibly in the Ethernet driver, or maybe during writes to a log, etc. …

 

If anyone has any thoughts about this very difficult problem, or any insights about how to troubleshoot, I would love to hear.

 

Thanks in advance.

 

~Brian

 

 



__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )