I have a process with
Code: Select all
FIND Bestelldetail WHERE Bestelldetail.Bestellung.Tour=ThisTour
CREATE KHKExport FOR EACH Bestelldetail WITH KHKExport.Datum=Bestelldetail._Bestelldatum,KHKExport.KdNr=Bestelldetail._KundenNr,KHKExport.LKW=Bestelldetail._LKW,KHKExport.Menge=Bestelldetail.Menge,KHKExport.ProduktNr=Bestelldetail._ProduktNr,KHKExport.BestellID=Bestelldetail._BestellID,KHKExport.PositionID=Bestelldetail.ID
Fields starting with an underscore are shortcuts.
The process itself works fine. But something eats up all my memory.
If FIND returns for example 8 Records then the default setting with 96M is to small.
When increasing -Xmx to 512M in startAwareIM.sh then 18 Records work but 28 records don't work any more.
The AwareIM log contains:
Code: Select all
2007-03-12 17:55:09,717 Reply#120 -15 Executing action FIND Bestelldetail WHERE Bestelldetail.Bestellung.Tour=ThisTour
2007-03-12 17:55:09,774 Reply#120 -33 Found 28 objects
2007-03-12 17:55:09,775 Reply#120 -16 Finished executing action FIND Bestelldetail WHERE Bestelldetail.Bestellung.Tour=ThisTour
2007-03-12 17:55:09,785 Reply#120 -15 Executing action CREATE KHKExport FOR EACH Bestelldetail WITH KHKExport.Datum=Bestelldetail._Bestelldatum,KHKExport.KdNr=Bestelldetail._KundenNr,KHKExport.LKW=Bestelldetail._LKW,KHKExport.Menge=Bestelldetail.Menge,KHKExport.ProduktNr=Bestelldetail._ProduktNr,KHKExport.BestellID=Bestelldetail._BestellID,KHKExport.PositionID=Bestelldetail.ID
2007-03-12 17:55:47,612 Reply#120 -16 Finished executing action CREATE KHKExport FOR EACH Bestelldetail WITH KHKExport.Datum=Bestelldetail._Bestelldatum,KHKExport.KdNr=Bestelldetail._KundenNr,KHKExport.LKW=Bestelldetail._LKW,KHKExport.Menge=Bestelldetail.Menge,KHKExport.ProduktNr=Bestelldetail._ProduktNr,KHKExport.BestellID=Bestelldetail._BestellID,KHKExport.PositionID=Bestelldetail.ID
2007-03-12 17:55:47,613 Reply#120 -16 Finished resuming process 120
2007-03-12 17:55:47,620 Reply#120 -17
2007-03-12 17:55:47,621 Reply#120 -17
Out of memory error encountered in the source QS
TRACE: org.openadaptor.adaptor.jms.JMSSource rolling back JMS transaction
TRACE: session is not transacted, cannot do rollback()
Any help would be greatly appreciated,
Hubertus