Edmund,
Doing my Programming technique, letting the compile show me my errors, my memory usage short up to 1000M of 1024M...
Opening this email, it went back down to 843M of 1024m...
Long ago, I always let the compiler do all the work for me! That is the power of using an IDE, instead of using SEU!
<grin>
So, I guess I really utilize the IDE, so I don't think I am an "Average" user of RDP. I do advance stuff!
<smirk>
-Ken Killian-
(423) 510-3129
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Tuesday, February 12, 2013 1:22 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Cc: wdsci-l-bounces@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] RDP 8.5.1 Memory Usage Jumps Up! --> restart RDP to reclaim Memory
Edmund,
Just now, I notice several things....
I often do a FILTER by a routine, because I am changing it to a procedure...
So, I might filter "Exsr MySubroutine", which is called approx. 6 times...
And I change the code like this:
KEN01 Check_Values( parm1: parm2); // *RMV* Exsr MySubroutine
(NOTE: Ken01 is my change tag in the sequence column, as required by employer)
And as I update and change code, I notice the memory usage has now shot up to 819M of 1024M...
And because I am lazy, I do a save and recompile, to find my typo errors...
Often, I will comment out the subroutine completely, because I am replacing with an encapsulate procedure. And let the compiler catch my errors. So, I find the places where I replace the subroutine call.
Now has shot up to 825M...
I am hoping my description of how I cheat, using a powerful I.D.E. like R.D.P. to do the work for me!!!
In some case, the memory goes down a little bit, and then goes back up, and I page up and down. And use the powerful "Error-List" to find place I comment out the subroutine. The error list gives me the NRF7530 & RNF7503 error.
So, in short, I am making the RDP do all the work for me, so I don't have to work as hard...
<Big Grin>
Now memory usage has climbed up to 840M.
I think because RDP is keeping track of all my change for an UNDO operation, I am guessing. But, not really sure...
On smaller programs, this methodology doesn't eat up some much memory...
-Ken Killian-
(423) 510-3129
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Edmund Reinhardt
Sent: Tuesday, February 12, 2013 10:57 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Cc: wdsci-l-bounces@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] RDP 8.5.1 Memory Usage Jumps Up! --> restart RDP to reclaim Memory
Ken,
We are still trying to reproduce this in house so we can fix it.
Can you tell me anything more about what you do, when you see the memory start to grow on every key stroke? How much does it grow per key-stroke?
Or does it grow when you open and close files?
Does this problem program access many DB files? How many?
Regards,
Edmund (E.H.) Reinhardt
COBOL IDE on AIX, DDS, WebFacing, System i Application Development, Rational Developer for Power
2D barcode Phone: 1-905-413-3125 | Phone: 1-905-854-6195 IBM
- encoded E-mail: edmund.reinhardt@xxxxxxxxxx
with AIX COBOL: 8200 Warden Ave
contact www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
information "In every thing give thanks: for this is the will of Canada
God in Christ Jesus concerning you." - 1
Thessalonians 5:18
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>,
Date: 02/12/2013 10:30 AM
Subject: [WDSCI-L] RDP 8.5.1 Memory Usage Jumps Up! --> restart RDP to
reclaim Memory
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
Hi,
I am working on one of my largest programs, with approx. 8,479 lines. And my memory usage always seems to jump up.
Current, it shows 840M of 1024M on Heap-Size.
preferences>General>show heap status (Check-box = CHECKED)
I have to do a save after almost every-line change, it *seems* or my screen turns milky white.
Restarting RDP seems to temporarily clear it up, but after a little while, eventual it seems to shoot back up...
Anyway, a restart seems to clear up a lot of resources!
Glad that I can see the creep of memory. The last re-start of RDP, seems to have working for me. :)
PS. I have an Intel core i5 CPU with 8GB of memory on Windows-7 64-bit.
-Ken Killian-
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.