Hi Micheal,
  For the OutOfMemoryError here is the solution I think that might work in
your case:
 For running ofbiz from command line..instead of java -jar ofbiz.jar you
can use
 java -Xms512m -Xmx1024m -jar ofbiz.jar
 This will solve ur OutOfMemory problem in any of the ofbiz operations.
Regards,
Mridul



On 5/1/07, Michael Imhof <[EMAIL PROTECTED]> wrote:


I got an OutOfMemoryError using simple-method <entity-and (same with
<find-by-and).

Error in simple-method operation [<entity-and/>]:
java.lang.OutOfMemoryError: Java heap space

The Error occurs only once (the first call of the service).
Then it works fine...

<entity-and entity-name="Country" list-name="countryList">
    <field-map field-name="itaCode" value="${itaValue}"/>
</entity-and>

Does somebody has an idea where this is coming from??? And why does it
only
occurs the first time (probably something with initialization, cache,
..??)?

Michael
--
View this message in context:
http://www.nabble.com/Error-in-simple-method-operation-tf3674071.html#a10266407
Sent from the OFBiz - User mailing list archive at Nabble.com.


Reply via email to