Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cjwuea

    Memory leak on unix but not windows

    The Boost classes I use only require the headers - so no precompiling - I'm using the latest version of boost - 1.34.1.
  2. cjwuea

    Memory leak on unix but not windows

    Hi again guys, I have some more info - I decided to use boost's shared_ptr on my token objects, but still a memory leak (on unix) - here's the output from the memory tool with Valgrind: 14,659,544 bytes in 17 blocks are still reachable in loss record 19 of 19 ==27212== at 0x4A19257...
  3. cjwuea

    Memory leak on unix but not windows

    I'm just using new and delete (where possible I always use the c++ functions / library) - I compile with -DNDEBUG and -O3, but I've tried changing the flags with no success.
  4. cjwuea

    Memory leak on unix but not windows

    As far as I know there are no platform specific pieces of code. I do use inheritance on those "Token" objects that I was talking about - I use virtual destructors - in this program I actually only create derived objects, and thus delete the derived objects.
  5. cjwuea

    Memory leak on unix but not windows

    Sorry, I was a bit vague: It's just a standard "console" application i.e. there's no gui stuff. I recompile on unix using g++. I use mainly stl, but I do use the string class from boost. The application is a speech recogniser - it works by passing thousands of "tokens" around a network - I'm...
  6. cjwuea

    Memory leak on unix but not windows

    Hi, I have an app (C++) that runs on windows fine, and all memory appears to be released correctly (by observing the mem usage in Windows Task Manager). When I run the same app on Unix / Linux, the memory does not release properly, and eventually goes on to the disk. Is this a problem people...

Part and Inventory Search

Back
Top