Re: Large founditems loops
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32487
interpreted = N
texte = I understand this, but if webcat is runningn out of thread memory, it should be saying so, and NOT just quitting webstar. on WebCat 3.08 it gives me a not enough memory error, but on 4.0 it just quits webstar.Derek>Then that's not the reason it's failing ... :)>You probably need to increase your threadmem preference ...>>>I neglected to mention that I only put the comments there so I could>>break the code up... it was actually all on one line...>>>>Derek>>>>> >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 >>>>>>>-->>>>Derek Chauran>>Web Developer, Dark Horse Comics>>derekc@darkhorse.com>>http://www.darkhorse.com>>>>#############################################################>>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 >>>>================================>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 -- Derek ChauranWeb Developer, Dark Horse Comicsderekc@darkhorse.comhttp://www.darkhorse.com#############################################################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
Associated Messages, from the most recent to the oldest:
I understand this, but if webcat is runningn out of thread memory, it should be saying so, and NOT just quitting webstar. on WebCat 3.08 it gives me a not enough memory error, but on 4.0 it just quits webstar.Derek>Then that's not the reason it's failing ... :)>You probably need to increase your threadmem preference ...>>>I neglected to mention that I only put the comments there so I could>>break the code up... it was actually all on one line...>>>>Derek>>>>> >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 >>>>>>>-->>>>Derek Chauran>>Web Developer, Dark Horse Comics>>derekc@darkhorse.com>>http://www.darkhorse.com>>>>#############################################################>>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 >>>>================================>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 -- Derek ChauranWeb Developer, Dark Horse Comicsderekc@darkhorse.comhttp://www.darkhorse.com#############################################################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
Derek C.
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:
Here's how to kill a Butler Database. (1997)
Plugin or CGI or both (1997)
HomePage Caution (1997)
HELP WITH DATES (1997)
notification solutions (1997)
Fun with Dates - finally resolved but.... (1997)
WebCatalog 2.0 b 15 mac (1997)
Pirated WebCat? NOT... (2003)
Webcat and other cgi (2000)
WebCatalog2 Feature Feedback (1996)
Is this possible, WebCat2.0 and checkboxes (1997)
search question (2001)
WebCatalog for guestbook ? (1997)
What am I missing (1997)
Roundup function? (1997)
Cart # Starting at 1000 (2000)
PSC recommends what date format yr 2000??? (1997)
RequiredFields notes ... (1997)
Running 2 two WebCatalog.acgi's (1996)
Template Cache problem, bombing WebSTAR problem (2000)