Memory leak with text variables
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20835
interpreted = N
texte = With the Webcat 3.0.2 plugin:I've just spent several hours with NetSplat and several versions of WebStar (including the latest beta) to find a memory leak that eats about 50mb of RAM on our web server within 20,000 html hits (and each page containing 15-20 text variables as described below). When Webstar reaches approximately 10mb of free memory, we generally get a Memory Error in the Status window or a crash with Error type 2 and must restart. Repeat every 24 hours, mix in frustration to taste...Specifically, let's say you've assigned a text variable like so:[TEXT]VAR=Hello[/TEXT]and then call it up on the same page like this several times:[VAR] this, [VAR] that, blah blahyou will see a memory leak (eventually).The leak does not occur when calling up the variable with [TEXT SHOW=T]VAR[/TEXT]. It also doesn't occur with [MATH] variables.Can someone at PCS please confirm this?Thanks,MichaelMichael Winston *By e-mail!: michaelw@dhorse.comSenior Web Developer *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Associated Messages, from the most recent to the oldest:
With the Webcat 3.0.2 plugin:I've just spent several hours with NetSplat and several versions of WebStar (including the latest beta) to find a memory leak that eats about 50mb of RAM on our web server within 20,000 html hits (and each page containing 15-20 text variables as described below). When Webstar reaches approximately 10mb of free memory, we generally get a Memory Error in the Status window or a crash with Error type 2 and must restart. Repeat every 24 hours, mix in frustration to taste...Specifically, let's say you've assigned a text variable like so:
[text]VAR=Hello[/TEXT]and then call it up on the same page like this several times:[VAR] this, [VAR] that, blah blahyou will see a memory leak (eventually).The leak does not occur when calling up the variable with [TEXT SHOW=T]VAR[/TEXT]. It also doesn't occur with
[math] variables.Can someone at PCS please confirm this?Thanks,MichaelMichael Winston *By e-mail!: michaelw@dhorse.comSenior Web Developer *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Michael Winston
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Bug Report, maybe (1997)
suffix mapping for NT? (1997)
WebCommerce: Folder organization ? (1997)
converting characters in form (1997)
problems with 2 tags shakur (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Using the sendmail command on CGate Pro (Unix) (2000)
Resume Catalog ? (1997)
Limitations on fields? Server is crashing (1997)
Search Question (2000)
Multiple prices (1997)
Can't use old cart file (was One more try) (1997)
Can WC remember people? (1998)
Problem with encrypted cookies (2000)
Major Security Hole (1998)
RE: Tax and ShipCost Problem (1997)
Image maps/Webcat (1997)
Searching multiple fields from one form field (1997)
ListFiles then delete by ModDate (2002)
change the number format (1997)