List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:October 3 2006 11:18pm
Subject:Re: mysql++ memory usage
View as plain text  
Alex Burton wrote:
> The memory that it uses is increasing as it runs.

According to what tool?  The likes of Windows Task Manager and top(1) on 
*ix are notoriously unreliable when it comes to detecting the true 
memory usage of a process.  They count things like OS-allocated buffers, 
mapped DLLs (if a DLL is mapped by multiple processes, its memory 
footprint is counted against all processes that use it), etc.

> It makes no difference if I move the connection out of the loop.

Do you mean the connection object, or both the object and the call to 
its connect() method?

> I don't think that it is a memory 'leak' as leak detectors can't find any leaks.

Unless your memory debugger is broken, there are no leaks, then.

Sorry to be cranky about this, but unless you can show me where in the 
MySQL++ code the memory leak is, I don't know what else I can tell you.
mysqlpp and wchar_t problemgani b. c.2 Oct
  • Re: mysqlpp and wchar_t problemWarren Young2 Oct
    • mysql++ memory usageAlex Burton3 Oct
      • Re: mysql++ memory usageWarren Young4 Oct
      • Re: mysql++ memory usageBill K4 Oct
        • Re: mysql++ memory usageAlex Burton4 Oct
        • Re: mysql++ memory usageWarren Young4 Oct
          • Re: mysql++ memory usageBill K5 Oct
            • Re: mysql++ memory usageWarren Young5 Oct
              • Re: mysql++ memory usageAlex Burton6 Oct
                • Re: mysql++ memory usageAlex Burton6 Oct
                  • RE: mysql++ memory usageMatt Dargavel6 Oct
                    • Re: mysql++ memory usageWarren Young6 Oct
                      • Re: mysql++ memory usageAlex Burton7 Oct
                        • Re: mysql++ memory usageWarren Young7 Oct
                        • Re: mysql++ memory usageMatt Dargavel7 Oct
                          • Re: mysql++ memory usageWarren Young12 Oct
                            • Exporting classesMatt Dargavel19 Oct
                              • Re: Exporting classesWarren Young20 Oct
                                • RE: Exporting classesMatt Dargavel20 Oct
      • Re: mysql++ memory usageCarlos Flores4 Oct
    • Re: mysqlpp and wchar_t problemgani b. c.3 Oct