On Fri, 28 Apr 2000 20:21:02 +0000, "Edenyard" <[EMAIL PROTECTED]>
wrote:
> Subject: How to get memory leak in V1.61
> Well, chaps - I've got a URL that will do it, although not as
> spectacular as the '35!!!' I had the other day. Here's the pattern,
> which I can reproduce at any time:
> 1. Start Arachne V1.61. DOS memory reported: 143+ (blue)
> 2. Dial. When connected, DOS memory reported: 74+ (blue)
> 3. Press 'M' for mail page. DOS memory reported: 74+ (blue)
> 4. Go to http://www.web-sites.co.uk/nasm DOS memory reported: 53+
> 5. Press 'M' for mail page. DOS memory reported: 53+ (blue)
> True - this doesn't actually cause a crash - well not immediately,
> anyway, and it doesn't give the '35!!!' in red that I HAVE seen. But why
> does the memory not recover from 53+ to 74+ when returning from the NASM
> page to the mail page?
> Hope this gives someone a clue. Let me know if you want me to do any
> further steps or experiments.
...this is MEMORY LOSS #2
I continued testing this page with Usual CONDITIONS, OPERATING
Practices, Initial READINGS, and Operating READINGS remaining the same.
TEST #1
-------
I reloaded http://www.web-sites.co.uk/nasm/ and saved it to
h:\nasmtest.htm (hereafter called "Nasmtest"), which displayed:
-red box across the whole top border instead of the previous image
-centered red box just beneath this instead of the previous image
-small red box about 1/4 page from the top, on the far right
-Gateway Banner Ad (still animated) centered in the middle of the page
-hit counter red box centered at the bottom of the page.
While still ONLINE, I cycled Mailpage-to-Nasmtest-to-Mailpage
without losing any memory. It stayed right at 87(?) no matter how
many times I cycled. NOTE that once I loaded file:h:\nasmtest.htm
from my HDD, I was cycling between objects in my cache, which is
on my I: RAMDisk.
TEST #2
-------
I killed cache, disabled images with SHIFT-~, and reloaded
http://www.web-site.co.uk without images, etc.
The cycle Webpage-to-Mailpage-Webpage showed no memory loss no
matter how many times I cycled. No images (including on Mailpage)
displayed during this test.
TEST #3
-------
I started fresh, reloaded Webpage with images, and set up my History
List so that the top three entries were:
file:h:\nasmtest.htm
file:i:\arachne\mail.htm
http://www.web-site.co.uk/nasm/
This made it possible to cycle using only the CTRL-LeftArrow and the
CTRL-RightArrow
Cycling Mailpage --> Nasmtest showed no loss
Cycling Mailpage --> Webpage showed 1Kbyte loss for each cycle
NOTE that these were all reloading from cache on RAMDisk after the
initial load.
NOTE - keep in mind that this was all being done while ONLINE
TEST #4
-------
I went OFFLINE (ALT-H), with History list still setup as in TEST #3,
and with Webpage, Mailpage, and Nasmtest still in my cache on my RAMDisk.
I found an Initial READING of 111(+).
Cycling Mailpage --> Nasmtest showed no loss
Cycling Mailpage --> Webpage showed 1Kbyte loss for each cycle
TEST #5
-------
I shelled out, ALT-E, and immediately RETURNED to Arachne (exit-ENTER),
and found:
Initial READING of 132(+)
Initial load of Nasmtest READING 132(+)
Initial load of Webpage READING 111(+)
subsequent cycling Mailpage --> Webpage showed 1Kbyte loss each cycle
Several additional Shell-OUT-RETURN cycles showed that I could always
recover my READING to 132(+) by doing this shell-out.
CONCLUSIONS:
------------
1. Arachne is misplacing some of the 640Kbytes RAM each time it renders
and displays the top images on this page. This is NOT happening with the
Gateway Animated Banner Ad in the center of the page.
2. This is true whether or not Arachne is ONLINE or OFFLINE.
3. Shell-out, ALT-E, will always recover this lost memory space.
THOUGHTS:
---------
I think I will try to find some similar pages (size, images, etc.) that
do NOT lose memory, and compare them. This might be profitable, to see
WHY Arachne is dribbling away this little bit of memory each time it loads
this page.
If anyone knows of similar page(s) which do NOT cause Arachne to do
this, why don't you post them.
........gregy