I am trying to configure XWiki on Ubuntu 14.0.4 for an project. I keep getting an error that says: java.lang.OutOfMemoryError: Java heap space. I have tried Google'ing for a solution, but nothing that I have found has worked. The majority of solutions say to allocate more memory to the JVM in the catalina.sh file, by using a line such as "CATALINA_OPTS="-Xmx800m -XX:MaxPermSize=192m". How do I implement this change/where do I put it in the catalina.sh file? Thanks for the help.
Best way to increase heap size in catalina.sh file for XWiki?
1.1k views Asked by James Curtis At
1
There are 1 answers
Related Questions in TOMCAT
- Unable to compile the class for JSP in tomcat 8.5.95
- detect catalina.out log path from a running tomcat on non-Windows
- Tomcat 9.0.80 with Open JDK (JRE only) v16.0.2 crashing/unresponsive several times a day with load: Thread Count hits Max and All Threads are Busy
- JAX-RS webapp deployed to Tomcat returns HTTP 404 error while it works fine in Eclipse
- Illegal access: this web application instance has been stopped already. Could not load [org.apache.logging.log4j.message.SimpleMessage]
- File Upload Handling: Inconsistent HTTP Response Codes for Different File Sizes with Exception in Tomcat
- Don't get any public folder when deployment in svelte kit app
- Accessing solr web interface behind reverse proxy returns "Content Encoding Error"
- java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSL.renegotiatePending(J)I
- Cannot decrypt the password in application.yml properly if war file in the tomcat/webapps
- how to deploy mock json data api's(json-server) and angular 17 application in apache tomcat server 9 version
- version compatibility issue between spring boot, struts2-core and tomcat-embed-jasper in web application
- Is there any possibility to use JTA with Spring Framework 6 and Tomcat or Payara?
- Eclipse issue with publishing to Tomcat server
- null in Camunda variables
Related Questions in CATALINA
- catalina.out shows old tomcat version despite updating CATALINA_HOME
- How can I make tomcat logs to rotate and delete via logging.properties?
- Tomcat 9 on RHEL 9.3 systemctl service fails: cannot touch '$CATALINA_HOME/logs/catalina.out': No such file or directory
- How to Filter a catalina.out to show only INFO logs
- Spring Boot app /prometheus endpoint taking a long time without a custom controller
- Tomcat Guacamole IPv6 locahost on Remote host
- How to set threshold for console appender in log4j?
- How to prevent Apache Tomcat JNDI Realm configured for AD authentication redirecting to cloud-based controllers
- WSO2APM 4.2 Docker image can't start the /publisher
- Shell 'eval' Java process, where is the Log (if any)?
- Tomcat/Spring webapp running on Windows 10 is unable to start
- Tomcat10 is not running on Window11 pro (a window opens and closes upon running startup.bat)
- filterStart SEVERE: Exception starting filter Authentication Filter java.lang.SecurityException: java.io.IOException: Configuration Error:
- Timestamps in catalina.out are nt consistant
- Startup Tomcat: The filename, directory name, or volume label syntax is incorrect. Press Enter or Esc to exit
Related Questions in XWIKI
- Hosting XWIKI on Azure Webapps
- Does the default xWiki REST API support JWT tokens? xWiki SAS
- How to create sugested list in livetable macro in xWiki
- XWiki livetable EvalError: call to eval() blocked by CSP
- Internal Server Error when authenticating with keycloak in xwiki
- Merging/joining new text using XWiki API and Python?
- Loop over all children and subchildren of a space Xwiki
- How to create a child page to a parent page with XWiki REST API?
- Make left and right panels to be fixed and not scrolled with the main page in xwiki
- xwiki docker container: ERROR DefaultExtensionLicenseManager - Failed to load license file at
- Xwiki - ASfter moving page breadcrumb still shows the (pre-move) breadcrumb
- XWiki - users suddenly cannot log in, invalid password message even though password is correct
- Converting XWiki table in MariaDB, from latin1 to utf8, got SQL Error [1118] [42000]: Row size too large
- Deleting a 3GB table took over two hours on MariaDB
- IIS Reverse proxy for XWiki on Tomcat
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
How did you installed Tomcat exactly ? If it was trough apt-get you have a few information on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HTomcatUsability. The standard Tomcat Debian package is supposed to be configured using /etc/default/tomcat7 (change the version depending on your Tomcat version).