Hello All,
I'm posting this question here only because of another great thread that detailed the memory usage on *nix systems when you make a CFEXECUTE call... http://www.houseoffusion.com/cf_lists/messages.cfm/Threadid=940&forumid=14໑ We're having a similar problem running CFMX 6.1 on Solaris 8. We encounter this error message when using CFEXECUTE to invoke a shell script: """ An exception occurred when invoking an external process. The cause of this exception was that: java.io.IOException: Not enough space. """ So it appears we're running into a similar memory overhead problem as detailed in the post I linked earlier. From what Steve detailed in the last post in that thread, it looks like we can expect CF's memory consumption to spike up when the initial call is made and then come back down once the shell script is exec()'d. My guess is that our server bombs out right when the "spike" happens... but I'll admit I'm no expert in this area. Apart from re-writing our code to avoid CFEXECUTE, what can we do to reduce the overall memory usage by CF? I figured we could tune these CFAdmin settings but I'm not convinced they'd have a measurable impact... (1) max number cached templates (currently 256) (2) cached queries (currently 150) (3) charting threads (currently 4) Or is there a way we can tune the JVM to handle these kinds of requests a bit better? These are the current arguments passed to it: """ -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=128m -XX:+UseParallelGC """ Min heap size is blank, Max heap size is 512 MB. The box is quad-processor Sun E250 @ 400 MHz with 1024 MB of RAM. Thanks so much for any advice you guys might have! -Cliff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3852 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
