Too many webcat comments. [WAS- Large founditems loops]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32507
interpreted = N
texte = Ken did you find that over a threshold number of webcat comments used in *any* way caused the problem? Or did the problem only tend to occur when using the comments to hide carriage returns? And if it was the latter, then did the problem occur only when hiding carriage returns occuring inside another webcat tag/context, or even when just hiding carriage returns that seperate lines of simple HTML?I have a few new templates with a lot of webcat comments, and the number of them is likely to grow... so I want to be alert to what all you may have found so I can still use loads of comments where it won't cause problems-JohnKenneth Grome wrote:> >ok, i have had a hard time narrowing this down, but basically, I am running: > > > >[SEARCH db=/db/somedb.db&neSKUdatarq=[BLANK]] > > [FOUNDITEMS] > > [REPLACE DB=/db/someotther.db&eqSKUdatarq=[SKU]&append=T][!] > > [/!]sku=[SKU]&something=[SOMETHING][!] > > [/!][/REPLACE] > > [/FOUNDITEMS] > >[/SEARCH] > > > >and this is processing about 16000 records... the problem is, that > >when webcatalog runs out of memory, instead of saying Web Catalog > >does not have enough memory to complete this command it just quits > >webstar... > > Try removing the webdna comment tags and use the proper syntax > without those tags, I think they overload the thread memory capacity > in the MacOS version ... > > There's some kind of a problem or bug in the MacOS version of > webcatalog when using the webdna comment technique you illustrated > above. It seems to 'give up' or crash whenever you use too many of > them in one place, such as the 32,000 pairs of them in your example > above. My personal tests broke when less than 50 of them were used in > a single include file, and your 32,000 far exceeds my 50 ... > > I discovered this problem a *very* long time ago, and I reported it a > couple of times while asking for an explanation -- but SM has never > bothered to reply with an explanation, nor have they bothered to fix > it ... :( > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Too many webcat comments. [WAS- Large founditems loops] (Dale LaFountain 2000)
  2. Re: Too many webcat comments. [WAS- Large founditems loops] (dale@gmr.dresdner.net 2000)
  3. Re: Too many webcat comments. [WAS- Large founditems loops] (John Butler 2000)
  4. Re: Too many webcat comments. [WAS- Large founditems loops] (Derek C. 2000)
  5. Re: Too many webcat comments. [WAS- Large founditems loops] (Charles Kline 2000)
  6. Re: Too many webcat comments. [WAS- Large founditems loops] (Glenn Busbin 2000)
  7. Re: Too many webcat comments. [WAS- Large founditems loops] (Kenneth Grome 2000)
  8. Too many webcat comments. [WAS- Large founditems loops] (John Butler 2000)
Ken did you find that over a threshold number of webcat comments used in *any* way caused the problem? Or did the problem only tend to occur when using the comments to hide carriage returns? And if it was the latter, then did the problem occur only when hiding carriage returns occuring inside another webcat tag/context, or even when just hiding carriage returns that seperate lines of simple HTML?I have a few new templates with a lot of webcat comments, and the number of them is likely to grow... so I want to be alert to what all you may have found so I can still use loads of comments where it won't cause problems-JohnKenneth Grome wrote:> >ok, i have had a hard time narrowing this down, but basically, I am running: > > > >[SEARCH db=/db/somedb.db&neSKUdatarq=[BLANK]] > > [founditems] > > [REPLACE DB=/db/someotther.db&eqSKUdatarq=[SKU]&append=T][!] > > [/!]sku=[SKU]&something=[SOMETHING][!] > > [/!][/REPLACE] > > [/FOUNDITEMS] > >[/SEARCH] > > > >and this is processing about 16000 records... the problem is, that > >when webcatalog runs out of memory, instead of saying Web Catalog > >does not have enough memory to complete this command it just quits > >webstar... > > Try removing the webdna comment tags and use the proper syntax > without those tags, I think they overload the thread memory capacity > in the MacOS version ... > > There's some kind of a problem or bug in the MacOS version of > webcatalog when using the webdna comment technique you illustrated > above. It seems to 'give up' or crash whenever you use too many of > them in one place, such as the 32,000 pairs of them in your example > above. My personal tests broke when less than 50 of them were used in > a single include file, and your 32,000 far exceeds my 50 ... > > I discovered this problem a *very* long time ago, and I reported it a > couple of times while asking for an explanation -- but SM has never > bothered to reply with an explanation, nor have they bothered to fix > it ... :( > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Butler

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:

WebCat2b12--[searchstring] bug (1997) Help with dates (2001) Using Applescript to process WebCatalog functions (1998) textarea (2000) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Dividers (2003) Separate SSL Server (1997) Practice runs ? (1997) One other big addition... (1997) Filemaker Pro & Webcatalog (1999) PIXO Support (1997) [Announce] WebCatalog 2.1 Released (1998) Stumpted Again (1997) RE: Shopping Cart Questions (1998) multiple search commands (1997) supressing math results (1997) Separate SSL Server (1997) Search results templates (1996) Web Catalog 2 demo (1997) Webstar 1.3.1 PPC (1997)