• 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: WO and Memory Management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO and Memory Management


  • Subject: Re: WO and Memory Management
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 14 Jul 2006 08:34:15 -0700


On Jul 13, 2006, at 10:37 PM, Owen McKerrow wrote:

Yes a couple of days ago we were.

Although we seem to be past them now and are dealing with the issue of WO not appearing to let go of the memory it uses and it having "broken pipe" issues.

It is not WO that is not letting go of the memory. It is the Java JVM. It is a JVM implementation issue, not a WebObjects issue.


The broken pipe is just a symptom of your application taking too long to process requests, aggravated by not dispatching requests concurrently. Fix the performance issue and this will go away.

Chuck



On 14/07/2006, at 3:33 PM, email@hidden wrote:

Hello Owen;

its better to explicitly call System.gc() in WO App's. Whats the rule of thumb here in terms of how often, is there a better spot than others etc etc ?

It is only ever a hint, never a demand. I have resorted to this infrequently.

That's correct, but I think the problem arises that if it does decide to do a full-on garbage collect then it has a tendency to freeze all of the threads for a bit while it does it. This can lead to jittery responses from the application.


Are you actually getting "OutOfMemoryException"-s logged?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40uow.edu.au


This email sent to email@hidden

_______________________________________________
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

--
Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


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: 
 >Re: WO and Memory Management (From: email@hidden)
 >Re: WO and Memory Management (From: Owen McKerrow <email@hidden>)

  • Prev by Date: Re: WO and Memory Management
  • Next by Date: Re: login security issue
  • Previous by thread: Re: WO and Memory Management
  • Next by thread: Calling all women going to WWDC
  • Index(es):
    • Date
    • Thread