• 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: long running task
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: long running task


  • Subject: Re: long running task
  • From: Andrew Lindesay <email@hidden>
  • Date: Sun, 15 May 2005 20:05:08 +1200

Hello Wolfram;

i have a test data generator, that ran about 5-6 hours tonight, creating 10000 mandants with a lot of dependent data, 40000 directories, 20000 files on my xserve with mysql. the application was running in deployment mode. after some time (an hour or so, after creating about 2500 mandants) safari showed:

I wrote an article a while back on finding out what's up in a dead WOA -- you may find this approach helpful in diagnosing the issue;


	http://www.lindesay.co.nz/articles/wo-live-debug.pdf

Also, assuming that you are using EOF operations within a loop with a locked EC, you *may* find that you consume all of the JVM's memory. I have found that the approach...

	loop start
		ec.lock
		do some eo work
		ec.unlock
		(preferrably do any I/O storage here)
		garbage collect
	loop end

...works well for large linear tasks despite the obvious issues around forced garbage collection.

I hope this helps.

cheers.

___
Andrew Lindesay
www.lindesay.co.nz
+64-21-47-0929

_______________________________________________
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


  • Prev by Date: long running task
  • Next by Date: Re: long running task
  • Previous by thread: Re: long running task
  • Next by thread: Component bindings
  • Index(es):
    • Date
    • Thread