you need to give the memory to tomcat, not eclispe.
In eclipse, go to the menu run > run... , select tomcat and add the
following to the VM args: -Xmx512M
Ruben
Paul Worrall wrote:
Liam forgot to mention it always happens while registering SiteDesigner.
Paul
On Tue, 2007-10-09 at 17:02 +0100, LIAM_TIPLER wrote:
Enterprise Edition 3.0.2
initial bootstrap on mysql db (in eclipse). keeps causing memory heap
errors. have set eclipse to:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128M
-vmargs
-Xms256m
-Xmx1024m
still no luck.
error:
ERROR org.apache.jackrabbit.core.observation.ObservationManagerFactory
ObservationManagerFactory.java(dispatchEvents:220) 09.10.2007 16:01:09
Synchronous EventConsumer threw exception.
java.lang.OutOfMemoryError: Java heap space
at
org.apache.lucene.store.RAMOutputStream.flushBuffer(RAMOutputStream.java:75)
at
org.apache.lucene.store.OutputStream.flush(OutputStream.java:131)
at
org.apache.lucene.store.OutputStream.close(OutputStream.java:145)
at
org.apache.lucene.store.RAMOutputStream.close(RAMOutputStream.java:97)
at
org.apache.lucene.index.DocumentWriter.writeNorms(DocumentWriter.java:328)
at
org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:103)
at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:307)
at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:294)
at
org.apache.jackrabbit.core.query.lucene.AbstractIndex.addDocument(AbstractIndex.java:129)
at
org.apache.jackrabbit.core.query.lucene.VolatileIndex.commitPending(VolatileIndex.java:164)
at
org.apache.jackrabbit.core.query.lucene.VolatileIndex.addDocument(VolatileIndex.java:86)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex$AddNode.execute(MultiIndex.java:1304)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:763)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:315)
at
org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:279)
at
org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:476)
at
org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:230)
at
org.apache.jackrabbit.core.observation.ObservationManagerFactory.dispatchEvents(ObservationManagerFactory.java:218)
at
org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:430)
at
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:607)
at
org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:697)
at
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:315)
at
org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:322)
at
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:291)
...
thanks all!
Liam T
Designer
Simons Group
_____________________________________________________________________
Simons Construction - Building Magazine Contractor of the Year 2007 - For more
information go to www.building.co.uk
View our latest Team Builder here - http://www.simonsgroup.com/teambuilder.pdf
View our latest news release here - http://www.simonsgroup.com/news.pdf
_____________________________________________________________________
Simons Developments - 2007 Property Company of the Year in the North East &
Yorkshire
Click here to read the full article.
http://www.estatesgazetteawards.co.uk/index.shtml
_____________________________________________________________________
Simons Group Limited, including Simons Construction, Simons Design and Simons
Developments, Registered Office 991 Doddington Road, Lincoln, LN6 3AA. Tel:
0808 2023 991, Fax: 0845 0721 800. registered number 2147887, registered in
England and Wales.
The information contained in this e-mail message and any files transmitted with
it is confidential and may be legally privileged. It is intended only for the
addressee and others authorised to receive it. If you are not the intended
recipient or the person responsible for delivering the message to the intended
recipient you are advised that you have received the e-mail in error and that
any disclosure, copying, distribution or action taken in reliance on the
contents of the e-mail and its attachments is strictly prohibited and may be
unlawful. Please advise the sender immediately if you are not the intended
recipient.
This message has been checked for all known viruses through the MessageLabs
Virus Scanning Service.
Web site http://www.simonsgroup.com
_____________________________________________________________________
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------