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.com Senior 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:

    
  1. Re: Memory leak with text variables (PCS Technical Support 1998)
  2. Memory leak with text variables (Michael Winston 1998)
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.com Senior 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:

Kaaaaahhhhhhhnnnnnnn! (1997) SSL and reg web* (1997) Searching Numbers (2004) PSC recommends what date format yr 2000??? (1997) WebMerchant when CC network is down (1998) WebDNA deletes major DB data big time (2004) Date problems (1997) slightly OT: advertising schemes (2004) Just Testing (1997) More Applescript (1997) Snake Bites (1997) PCS Frames (1997) Emailer [cart] file names (1997) Configuring E-mail (1997) [WebDNA] Problem running Webdna (2011) WebCat2b13MacPlugIn - More limits on [include] (1997) WebCat2 several catalogs? (1997) More on [purchase] (1998) Is QuidProQuo dead? (1998) searchable list archive (1997)