Re: Running Out of Memory
Re: Running Out of Memory
- Subject: Re: Running Out of Memory
- From: Tom Blenko <email@hidden>
- Date: Mon, 14 Jun 2004 18:34:47 -0700
You might want to try OptimizeIt, a profiling tool that has had a
somewhat tortured history (it's currently a Borland product) but in my
experience has worked well with WebObjects once you figured out how to
get it running. It connects to a profiling port on the JVM and allows
you to watch memory usage, determine where in the code different
structures are being allocated, etc.
I haven't used it for a while. Last time I had to find it on the
Borland site and then request a temporary (developer) license. I think
that was good for about 15 days and you could then request another one.
It should allow you to find the problem if it is a programming issue.
Tom
On Jun 14, 2004, at 5:43 PM, Greg Hulands wrote:
Hi,
In my wo app I have to upload images that are around 13 MB, after I
have written them to the file system, I set the reference of the image
data to null. It would seem that the memory mustn't been released. Are
there any tools to which I can track down why this is happening? I
also tried after setting to null forcing the runtime to do garbage
collection. It would seem something is keeping a reference to the
data, but I know I have set it to null in the EO after it has written
to disk. The only other place is in the component, but once the
component is finished and looses scope, it should release it there as
well.
I tried increasing the memory for the jvm, but this only delayed the
out of memory error.
Any help is greatly appreciated.
Regards,
Greg
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.