On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion in database, builds new structures on memory and it frees older data. But, each time it repeats this procedure, the process memory usage increases several MB (12/16MB). Process's memory usage starts from 100M until near 1,4G. Just to this point, it seems the process has memory leaks. But the strange behaviour is that after this point, the process stops to continue growing up anymore. When I try to look for memory leaks (using Purify tool) the process doesn't grow up and no significant leaks were showed. Did anyone found a similar behaviour or can explain what could be happening?
Solaris process memory usage increase but not forever
299 Views Asked by jjavibv At
1
There are 1 best solutions below
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in MEMORY-LEAKS
- Python Memory Leak - Why is it happening?
- how to resize image properly without memory warning
- Ruby leaked objects are referenced by RubyVm::Env
- Why the private package String constructor (int, int, char[]) has been removed?
- Use static analysis tools to check null pointers and memory leaks in Linux device drivers
- No warning on deleting a forward declared pointer (Visual Studio)
- Unity c# List memory leak
- UIDatePicker memory leak in IOS 8.3
- PHP UDP socket memory leak
- nodejs , socket.io simple code memory leak
- Memory Leak using an UIAlertController in Swift
- valgrind shows me a leak when using libxml2
- cuda-memcheck fails to detect memory leak in an R package
- Memory Leaks and GridView
- Unable to spot Memory leak issue in below code
Related Questions in SOLARIS
- How to get Mouse support for dtterm terminal in solaris
- Tail command - follow by name on Solaris
- in Makefiles, how to test for gcc's --with-ld option?
- Configuring git and apache on solaris box
- How to find linux equivalent of solaris specific header files?
- How to match and remove the content preceding it from a file in unix
- writing device drivers for OpenIndiana
- How to convert Solaris MDB addresses into file names and line numbers?
- wheel group in OpenSolaris
- I want to update atime on large binary files
- Socket Descriptor closed from another thread on certain condition when accept() call on the same socket is going on in Linux?
- gzip and pipe to output (performance consideration)
- Setting LD_LIBRARY_PATH breaks my apache module, can rpath fix it?
- redirecting echo with undefined variable
- Can't take input from a terminal
Related Questions in ROGUE-WAVE
- VBA Automation of RogueWave HostAccess
- Why does RWDBManager::database need shared library name?
- How to replace all the "\\" occurance using rwcstring
- SEGMENTATION FAULT in C++ - Rougewave (only in linux and not in unix)
- Initializing a set iterator in C++
- Anyone have any information on how to create a C/C++ Path Checker on Klocwork?
- Roguewave error 9 [ENDOFFETCH] End Of Fetch - anyone know what this means?
- How do I abstract away from using RogueWave in legacy code?
- Default Directory in Rogue Wave
- Modal Dialog IlvFileBrowser
- Rogue Wave Edit Box text
- Solaris process memory usage increase but not forever
- What does cursor function of RWDBCursor do?
- difference between a regular "string" class "rwcstring" class
- Why is RWTime using a different default timezone than the one the date command uses?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It probable that the operating system doesn't actually "throw away" the old memory pages when you free the memory, because it will then be quicker for the application to allocate more memory if the OS don't have to allocate more pages. But only up to a limit of course.