I'm using Gentran Director's Unattended processing to run a sequence of dos .bat files. Eventually this uses up all the machines memory and a reboot is required. Anyone know what is causing this, and more importantly HOW DO I FIX IT??
I'm not super familiar with Gentran, although we do have it running here. With memory leaks I have great success scheduling 'Clearmem.exe' (utility from the NT Server Resource Kit) to run using either the Task Scheduler (W2k) or AT Schedule (NT4). Just run this nightly or however often you need to release the memory. This is not a permanent fix, just a 'Stop-Gap' solution until you can get to the heart of the matter and have it fixed. This will at least buy you some time and keep your uptime stats better.
In C and C++, programmers must explicitly provide the routine for reclaiming dynamically allocated memory. When memory is not reclaimed (because a programmer forgets to do so, or because of a logic error), this causes the so-called memory leak. In Java programming, when an object is no longer used in the program, the object is marked for garbage collection. When the garbage collector executes the memory of such object is reclaimed. Therefore, memory leak that are common in other languages like C and C++ are less likely to happen in Java.
We are using Gentran 5.2-1 for Unix. To resolve our memory leak issue, we do the Gentran command "stopserver" then "startserver".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.