I added this step as a note at the top of both Step 3 (Tomcat) and Step 5 (Deploying OpenMRS) on the wiki. Hopefully it makes sense!
Tobin On Wed, Feb 8, 2012 at 10:15 PM, Darius Jazayeri <[email protected]>wrote: > Hi Tobin, > > Yes, that step should be updated. Can you add a line there documenting it? > You could do it in-line or as a pointer to the memory errors section. > > -Darius > > > On Wed, Feb 8, 2012 at 11:47 AM, Tobin Greensweig <[email protected]>wrote: > >> Thanks Suranga, that was very helpful. I was able to add the following >> line to /usr/local/Tomcat/bin/catalina.sh to solve the problem: >> >> JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server >> -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m >> -XX:MaxPermSize=256m -XX:+DisableExplicitGC" >> >> I added a comment to >> https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors but >> does this need to be part of the standard OpenMRS install instructions? If >> so should https://wiki.openmrs.org/display/docs/Step+3+-+Install+Tomcatbe >> updated to reflect that? >> >> Tobin >> >> >> On Wed, Feb 8, 2012 at 9:10 PM, Suranga Kasthurirathne < >> [email protected]> wrote: >> >>> Hi, >>> >>> I found this ticket, https://tickets.openmrs.org/browse/TRUNK-2558 which >>> seems to be the same problem you are facing. Roger says that this is due to >>> a permgen problem, and that allocating additional memory helps... >>> >>> Hope this was helpful... >>> >>> >>> >>> On Thu, Feb 9, 2012 at 12:52 AM, Tobin Greensweig >>> <[email protected]>wrote: >>> >>>> Hello everyone, >>>> >>>> I'm attempting to get 1.8.3 loaded on my Macbook. I'm running SQL >>>> 5.5.20 and Tomcat 6.0.29. I'm able to get the WAR loaded and move through >>>> the initial setup wizard. On the final when I reach 89% on the "Update the >>>> Database" step the process stalls out every time. Java starts using 100% >>>> CPU and my tomcat stops responding until I stop and restart it. >>>> >>>> The step that seems to be killing it is this: >>>> >>>> Updating database tables to latest version (304/340): Author: wyclif >>>> Comments: Dropping foreign key constraint on >>>> concept_name_tag_map.concept_name_tag_id Description: Drop Foreign Key >>>> Constraint >>>> >>>> Number of actions completed so far: 629 >>>> >>>> Any ideas??? >>>> >>>> Thanks, >>>> >>>> Tobin >>>> ------------------------------ >>>> Click here to >>>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from >>>> OpenMRS Implementers' mailing list >>> >>> >>> >>> >>> -- >>> Best Regards, >>> >>> Suranga >>> >>> ------------------------------ >>> Click here to >>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from >>> OpenMRS Implementers' mailing list >> >> >> >> >> -- >> Tobin >> ------------------------------ >> Click here to >> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from >> OpenMRS Implementers' mailing list >> > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > -- Tobin _________________________________________ To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-implement-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

