I need to clean up at both places, maybe because the company which builds my OS is located in Redmond and not in Cupertino. ;-)

(I've created recently a JIRA which covers the same topic, see "http://www.openlaszlo.org/jira/browse/LPP-7364";)


Yeah, the /tmp gets GC'ed by the operating system, but the /temp under the
tomcat server doesn't get
cleaned up by anyone,
I don't think.


There's no good reason to keep more than the last compilation. A compilation
can involve makingseveral subdirectories,  if there are <import> libraries,
each one compiles as its own 'app'.

I guess the top level compiler entry point in the LPS server should do an
"rm -r" of the tomcat /temp/lzswf9 directory.




On Thu, Nov 20, 2008 at 8:24 AM, P T Withington <ptw at pobox.com 
<http://www.openlaszlo.org/mailman/listinfo/laszlo-dev>> wrote:

>/ If it is putting it in /tmp, the OS clears that regularly, no?
/>/
/>/ In any case, is there any reason for the compiler to keep more than just
/>/ the last compilation?  Maybe it should remove the previous one each time
/>/ there is a new compilation?
/>/
/>/
/>/ On 2008-11-19, at 21:40EST, Henry Minsky wrote:
/>/
/>/  When you compile swf9 apps via the LPS server, it puts its temp file
/>>/ under the tomcat /temp/lzswf9 directory.
/>>/
/>>/ That ends up being pretty big after awhile, and I don't think there's
/>>/ anything which GC's it automatically, so you
/>>/ may want to delete the contents of that directory to get some disk space
/>>/ back.
/>>/
/>>/
/>>/
/>>/ --
/>>/ Henry Minsky
/>>/ Software Architect
/>>/ hminsky at laszlosystems.com 
<http://www.openlaszlo.org/mailman/listinfo/laszlo-dev>
/>>/
/>/
/>/
/

--
Henry Minsky
Software Architect
hminsky at laszlosystems.com 
<http://www.openlaszlo.org/mailman/listinfo/laszlo-dev>

Reply via email to