Help us understand the problem. What is going on with this article?

EclipseでTomcatサーバを立ち上げる時にOutOfMemoryになるときの対処法

More than 5 years have passed since last update.

EclipseでTomcatを立ち上げる時にOutOfMemoryになる場合は下記をためす。

  1. Run → Run cofigurations を選択。
  2. 「Apache Tomcat」 → 「Tomcat v7.0 Server at localhost」を選択。 ※ 使用しているTomcatのバージョンに置き換ること。
  3. Argumentタブで VM argumentsの最後に下記を追加。 -Xms1024m -Xmx1024m -XX:MaxNewSize=1024m -XX:MaxPermSize=1024m

ここのメモリーの数値は適宜決めてください。

これでTomcatサーバを起動できれば、OK。

参考にしたサイト
http://d.hatena.ne.jp/necoyama3/20090610/1244652868

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした