Hi Peter, I created a looping transformer and pasted it into Ultraedit - yes it appears that the BranchingFactory is responsible for the loops. It automatically has MAXIMUM_COUNT set to -1
FACTORY_DEF * BranchingFactory \ TARGET_FACTORY "$(loopy_WORKSPACE_NAME)_LoopStart Input Splitter" \ FACTORY_NAME "Loop to $(loopy_WORKSPACE_NAME)_LoopStart Input Splitter" \ MAXIMUM_COUNT -1 \ INPUT FEATURE_TYPE $(loopy_WORKSPACE_NAME)_TESTER_FAILED \ OUTPUT PASSED FEATURE_TYPE $(loopy_WORKSPACE_NAME)_LoopStart I think Michael's problem is definitely an integer overflow or overloading of a stack (can you tell I'm not a developer?) - it was a particular problem once you start creating nested loops. I'm told the fix is definitely in the current FME 2007 beta versions (since Aug 4th I think) Mark --- In [email protected], "peter laulund" <[EMAIL PROTECTED]> wrote: > > Hi Mark > > it look like you are right i did just run a feature trough a branching > factory 5000000 times wit no problems > > but the default behaviore is a 1000 times ( thoug the documentatin says 100 > ) in order to execede this count we have to set the MAXIMUM_COUNT directive > to a biger number or -1, equals no limit > > but when we hit the limit the factory just stop, it dont give an error, so > maybe it is somthing different that is the problem for micahel like running > into a integer overflow or?? > > but this is how it woorkes in a mapping file, i dont know how tis is don in > workebench > > Peter > > > > >From: "peter laulund" <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: RE: [fme] Endless Loop Detection, where is the limit ? > >Date: Tue, 29 Aug 2006 08:46:21 +0000 > > > >Hi > > > >..the more you use, the more you get .. > > > >I did some testing off looping ( BranchingFactory ) some time ago, and ran > >into the problem that there is a limited number off times a feature can > >pass > >a BranchingFactory, i think the number was around 3281 ?? > > > >NB Looping in mapping files is just so cool, I have attatched a few > >exampels > >on how it workes, You can also experiment with thees loops to see if there > >is a max number > > > > > >Peter > > > > > > >From: "mhabarta" <[EMAIL PROTECTED]> > > >Reply-To: [email protected] > > >To: [email protected] > > >Subject: [fme] Endless Loop Detection, where is the limit ? > > >Date: Mon, 28 Aug 2006 09:31:52 -0000 > > > > > >Hallo > > > > > >The more I use looping in CUSTOM Transformers, the more I get > > >error messages about "too many nested Evaluations", and a "Endless > > >Loop Warning" ... > > > > > > > @Evaluate -- failed to evaluate expression `expr 154-1' -- too many > > >nested evaluations (infinite loop?) > > > > Program Terminating > > > > > > > > Translation FAILED. > > > > > > > > >Anybody has an idea where there is a limit ? If it's a bug, or what > > >I'm doing wrong ? > > > > > >Thanks Michael > > > > > > > > > > > > > > > > > > > > > > > >Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver > >BC > > >Canada. For more information, visit www.safe.com/2006uc. > > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > >_________________________________________________________________ > >Opret en personlig blog og del dine billeder på MSN Spaces: > >http://spaces.msn.dk > > > > > >Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC > >Canada. For more information, visit www.safe.com/2006uc. > >Yahoo! Groups Links > > > > > > > > > > > ><< GRID.FME >> > > > ><< frac.tcl >> > > > ><< NULL2FRAC.FME >> > > > ><< VisData.FMI >> > > _________________________________________________________________ > Få 250 MB gratis lagerplads på MSN Hotmail: http://www.hotmail.com > Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC Canada. For more information, visit www.safe.com/2006uc. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
