Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing on ubuntu #6

Closed
darbychang opened this issue Aug 22, 2015 · 5 comments
Closed

installing on ubuntu #6

darbychang opened this issue Aug 22, 2015 · 5 comments

Comments

@darbychang
Copy link

i followed INSTALL and got the error below, any idea?

bin/run.sh: line 27: /home/some_user/git/hackpad/bin/ooffice.sh: no such file or directory
Maximum ram: 1656M
Maximum thread count: 276
Using config file: ./etc/etherpad.local.properties
Error occurred during initialization of VM
Could not reserve enough space for object heap
@jimmybrancaccio
Copy link

I'm actually getting the same thing but on CentOS 6.7. Seems like we've got plenty of RAM available so I am not sure what the issue is.

@igorkofman
Copy link
Contributor

You may need to lower the MXRAM value. Looks like you have it set to 1.6G
and it's failing to allocate that.
(the default config has it set to 4G I believe)

On Sat, Aug 22, 2015 at 10:02 AM, Jimmy B. notifications@github.com wrote:

I'm actually getting the same thing but on CentOS 6.7. Seems like we've
got plenty of RAM available so I am not sure what the issue is.


Reply to this email directly or view it on GitHub
#6 (comment).

@darbychang
Copy link
Author

@igorkofman you meant ln 20 in local-run.sh, right? i didn't change it (4G) and have tried 1G after seeing your comment, but both show the same error message

MonojitBanerjee pushed a commit to MonojitBanerjee/hackpad that referenced this issue Aug 23, 2015
This is to fix installing on ubuntu dropbox#6. 

MaxPermSize is causing the below issue and lowering it to 512m solved the problem.

bin/run.sh: line 27: /home/some_user/git/hackpad/bin/ooffice.sh: no such file or directory
Maximum ram: 1656M
Maximum thread count: 276
Using config file: ./etc/etherpad.local.properties
Error occurred during initialization of VM
Could not reserve enough space for object heap
@MonojitBanerjee
Copy link
Contributor

MaxPermSize is causing the below issue and lowering it to 512m solved the problem.

you need to edit line 99 in run-local.sh file (located at ../etherpad/bin)

-XX:MaxPermSize=2048m \

and change it to

-XX:MaxPermSize=512m \

@darbychang
Copy link
Author

@Monoban it works! thx

shalecraig pushed a commit to shalecraig/hackpad that referenced this issue Sep 7, 2015
This is to fix installing on ubuntu dropbox#6. 

MaxPermSize is causing the below issue and lowering it to 512m solved the problem.

bin/run.sh: line 27: /home/some_user/git/hackpad/bin/ooffice.sh: no such file or directory
Maximum ram: 1656M
Maximum thread count: 276
Using config file: ./etc/etherpad.local.properties
Error occurred during initialization of VM
Could not reserve enough space for object heap
shalecraig pushed a commit to shalecraig/hackpad that referenced this issue Sep 7, 2015
This is to fix installing on ubuntu dropbox#6. 

MaxPermSize is causing the below issue and lowering it to 512m solved the problem.

bin/run.sh: line 27: /home/some_user/git/hackpad/bin/ooffice.sh: no such file or directory
Maximum ram: 1656M
Maximum thread count: 276
Using config file: ./etc/etherpad.local.properties
Error occurred during initialization of VM
Could not reserve enough space for object heap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants