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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why would Gentran Unattended gives me a memory leak?

Status
Not open for further replies.

cdig

MIS
May 2, 2001
1
CA
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??

cdig
email: cdriedger@ugg.com
 
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.

Best of luck to you.

Greg
 
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".

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top