• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

"Java heap space" with the JForum[Solved]

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey~!
I meet a problem , when I browse the topic content the JForum throw out this error :

An error has occurred.

For detailed error information, please see the HTML source code, and contact the forum Administrator.

Java heap space

but it was ok yesterday . today I changed the cache of the tomcat to 500M , it still display this error .
I had changed the smile pictures and deleted the original pictures like " :lol: " and added some new pictures , so I thought the reason maybe is that the older topics contain the original smile pictures but now they are not available .
I moved the forum to other servers and tomcat but it didn't mend
anyone met this problem? help~~~hurry ~! hurry~!
[originally posted on jforum.net by Squall_Liu]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which JForum version?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Squall_Liu wrote:Java heap space

but it was ok yesterday . today I changed the cache of the tomcat to 500M , it still display this error .


You changed the cache size or the memory allocated for tomcat to use? To bump the Tomcat size, you will need to change the startup script ... the memory parameter to allocate 512M RAM for Tomcat would look like this: -Xmx512M
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Which JForum version?

Rafael



the latest version 2.1.6

[originally posted on jforum.net by Squall_Liu]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

GatorBait3 wrote:

Squall_Liu wrote:Java heap space

but it was ok yesterday . today I changed the cache of the tomcat to 500M , it still display this error .


You changed the cache size or the memory allocated for tomcat to use? To bump the Tomcat size, you will need to change the startup script ... the memory parameter to allocate 512M RAM for Tomcat would look like this: -Xmx512M


yes ,I changed the configure file "/etc/conf.d/tomcat5"
and modifed the

JAVA_OPTS="-Xmx500m"

and then restart the tomcat ,but no useful

the strange thing was that when I had not changed the cache of the tomcat , the error had been appeared -_-~!..
So I thought the error maybe be caused by deleted the original smile pictures just like " :lol: 8) :?: " ,after that the old topics could find the them ,so the error came......

Who knows how to resume the smile pictures ?

[originally posted on jforum.net by Squall_Liu]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are in the file WEB-INF/config/database/mysql/mysql_data_dump.sql

Just note that the inserts have a fixed smilie_id in that file, so you may have to remove the id (and smilie_id column) from the query.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:There are in the file WEB-INF/config/database/mysql/mysql_data_dump.sql

Just note that the inserts have a fixed smilie_id in that file, so you may have to remove the id (and smilie_id column) from the query.

Rafael



aha~!
It has been solved~! Thanks very much~!

I delete all the date of the jforum_smilies table
then insert the default vaule from the
"WEB-INF/config/database/mysql/mysql_data_dump.sql"
then login the manage platform delete the new smiles picture ;
the last step , copy the original smilies to the default folder .
the forum has returned~!

[originally posted on jforum.net by Squall_Liu]
 
Look ma! I'm selling my stuff!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic