× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.







I have written a program that uses the following API's: QtocLstNetCnn,
QUSCRTUS, QUSDLTUS, QUSPTRUS, inet_addr, inet_ntoa
the code can be found here
http://home.columbus.rr.com/jbmmdietz/iseries.html
Look for the NSTAT utility.

How/what do I look for in my program to see if there is a memory leak, and
where it is coming from.
I am assuming that I have coded one the API's wrong, could that cause it?
If you look at the code please be nice, I am not a programmer by trade, I
program for my own education.

I am not sure if I should use the PEX tools or some other means.


What I am seeing is the following:
Before:

System ASP . . . . . . . :    12.58 G
% system ASP used  . . . :    49.6778
Total aux stg  . . . . . :    14.55 G
Current unprotect used . :      699 M
Maximum unprotect  . . . :      709 M

After 5000 runs of the program
(I deleted the spool file after each iteration):

System ASP . . . . . . . :    12.58 G
% system ASP used  . . . :    53.2132
Total aux stg  . . . . . :    14.55 G
Current unprotect used . :     1134 M
Maximum unprotect  . . . :     1135 M

This was the only job doing anything on the system.

The jobs Temp storage went from 1 to 4 meg.


-------------------------
 Bryan Dietz
3X Corporation
614-410-9205





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.