Re: Memory Issue
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 08:34:54 -0800
Jason.Herald@xxxxxxxxx wrote:
I will post more passes (fyi the number is the current available
memory so it is going to go down).
If I let the app run for 20 minutes it runs out of memory.
And no there are no errors aside from the java.lang.OutofMemory
Well at least 20 minutes is relatively quickly. Unfortunately after you attach a debugger 20 minutes might turn into 20,000 minutes. I think you'll need to try anyway. Get a debugger or other performance tool, attach it and let the process run. Collect GC info so you can see what objects are surviving GC. (They'll have their generation number increasing.) That should at least get you pointed at the right part of the code.
Here's an older reference, I didn't have time to look extensively for the latest info:
<http://www.ibm.com/developerworks/library/j-perf06304/>
It will at least get you some key words to search for and get a debugger running in your environment. I think that's the first step. Until you have some clue where the error really is, posting code is unlikely to produce a resolution. And knowing how to attach tools and profile your code is a useful skill.
.
- References:
- Memory Issue
- From: Jason.Herald@xxxxxxxxx
- Re: Memory Issue
- From: Mark Space
- Re: Memory Issue
- From: Jason.Herald@xxxxxxxxx
- Memory Issue
- Prev by Date: Re: Java with Windows CE
- Next by Date: Re: Memory Issue
- Previous by thread: Re: Memory Issue
- Next by thread: Re: Memory Issue
- Index(es):
Relevant Pages
|