• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: testing a WO web application with memory issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testing a WO web application with memory issue


  • Subject: Re: testing a WO web application with memory issue
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 31 Oct 2006 09:30:10 -0800

Speaking from experience :-) you will probably find this is from a third party library or from unhanded exceptions in your code. If you are using QuickTime for Java, that would be a prime suspect. The other place this happens is in sleep() and terminate() of sessions. If exceptions escape those, the session never dies and its memory is never released. Does session count grow over the week? You can monitor this by logging in Session:
NSLog.out.appendln("Current active sessions: " + application ().activeSessionsCount());
It is also useful to log out the session ID in the constructor and in terminate() so that you can track down which does not terminate.


Finally, get a thread dump of the JVm after it has been running for several days and see if there are stuck threads.
http://www.gvcsitemaker.com/gvc.webobjects/ faq&mode=single&recordID=41413&nextMode=list



Chuck


On Oct 31, 2006, at 2:18 AM, Paolo Sommaruga wrote:

one of our application, after 1 week of work, crashs with JavaLangOutOfMemory. I need a tool which can help me in order to simulate some user loading.
Can someone suggest me such tool ? What is the correct way to find such WO memory issues ?
The application use several WOImage which data binding, all images are in database. There Is some memory issue with WOImage and memory management ?


 Regards

Paolo Sommaruga
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >testing a WO web application with memory issue (From: Paolo Sommaruga <email@hidden>)

  • Prev by Date: Re: testing a WO web application with memory issue
  • Next by Date: Re: WWDC movies on iTunes
  • Previous by thread: Re: testing a WO web application with memory issue
  • Next by thread: Re: testing a WO web application with memory issue
  • Index(es):
    • Date
    • Thread