News for hackers. Stuff that matters.
Re:Memory Leak Torpedoed Princeton's DARPA Chances by queensnake on Saturday November 17, 2007 @03:41PM (#81013)
Could you / do you use memory (object) pools? It's crazy to put C++ techniques on top of Java which is supposed to take all that off your hands but, as you say, 'in the real world'...
Re:Memory Leak Torpedoed Princeton's DARPA Chances by boucher on Saturday November 17, 2007 @06:21PM (#81040)
We use a lot of thread local pools so that we never allocate new objects. We generally have a fixed number of long lived threads, so this works out pretty well.