Zipping itself can be a little memory intensive if all those files are
being loaded into memory.  Even if there is no "memory leak" par se, it
is entirely possible you are under-powering the server RAM-wise. 

If you only have 1 Gig on the entire server, that's really not much. 
What else runs on this server besides CF?  SQL Server?  FTP?

What are your JVM args for the maximum heap size?  

With a Gig of system memory, Windows could easily take 1/4 of that, and
if you have left CF at the default JVM settings, it is probably only
getting 512 megs.

Depending on how often this scheduled task runs (and about 3 millions
other factors), it may just be a problem of garbage collection not
running often enough.

I would recommend grabbing SeeFusion, setting up some database logging
of memory usage (counters) and running some load tests with a single
task.  How much does memory increase when it runs.  Does it go back down
by itself?  After how long?  Does memory go back down if you run garbage
collection manually?

That should be a starting point.

~Brad

-------- Original Message --------
 Subject: RE: What is the most like cause lf "Java Heap Space" error?
 From: "Rick Faircloth" <r...@whitestonemedia.com>
 Date: Tue, September 15, 2009 2:51 pm
 To: cf-talk <cf-talk@houseoffusion.com>
 
 
 No use of CFImage in this set of tasks...just unzipping, copying,
moving,
 deleting, etc.
 
 (Who typed that subject line for this mail: What is the most "like"
cause
 "if" Java Heap Space error?)
 And English *is* my native language! Yikes!
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to