It's not something I would actually use but as long as we've meandered
over to it, I might was well ask it. :)

Philosophically, I'm against people being able to call GC from within
a request. Programmatic GC might promote the bad habit of depending on
it over cleaner and tighter applications. If I see a request is taking
up more memory than it logically should then my first place to look is
the code, not the java.

--
Michael Dinowitz




On Wed, Mar 10, 2010 at 12:52 AM, Dave Watts <[email protected]> wrote:
>
>> So the question now is if GC can be called programatically after all
>> references to a large 'object' is removed during a single request.
>
> While Brad points out that this is possible, I don't know if objects
> are actually marked for deletion until the request has finished. In
> addition, it's the kind of thing that you really don't want to get
> into - if you want to manage memory directly, that's why we have
> C/C++. The thrust of modern languages like Java is that memory
> management should be something that the computer does, rather than the
> programmer.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:331531
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to