Giter Site home page Giter Site logo

Comments (3)

vadz avatar vadz commented on September 24, 2024

Do you know what exactly is getting leaked? E.g. a report from ASAN or whichever tool you use?

Also, please try to provide the minimum way to reproduce the problem.

from soci.

szelski avatar szelski commented on September 24, 2024

Do you know what exactly is getting leaked? E.g. a report from ASAN or whichever tool you use?

No particular Tool used. Just watched the Memory Allocation in the Task Manager over about 4 Days in multiple trial series. Till Process crashes.

Also, please try to provide the minimum way to reproduce the problem.

To reproduce:

// Call the "open" function from soci\src\core\session.cpp in your code,
// The database one wants to connect to must not to exist, so that the connection attempt fails.
try
void session::open(connection_parameters const & parameters)
catch (soci::odbc_soci_error const& e)

// Call the "close" function from soci\src\core\session.cpp to free the resources after the failed connection attempt.

void session::close()

catch (exception& ex)

// Call the "close" function from soci\src\core\session.cpp to free the resources after the failed connection attempt.

void session::close()

let the proces Run for Days (about 4) and watch how memory is allocated but not freed by the Process, till crash.

from soci.

vadz avatar vadz commented on September 24, 2024

Sorry, but I won't be able able to run a process for 4 days to debug this. Please try to use any of the memory leak detection tools to gather more information to help fix this problem.

from soci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.