Foren: ご意見・ご指摘・ご感想 (Thread #41795)

java.lang.OutOfMemoryError:Java heap space (2020-02-06 14:15 by 郵便 #84270)

キャラクターなんとかJ、使わせて頂いております。
素晴らしいツールをありがとうございます。

製作中、動作確認をしていたら
「java.lang.OutOfMemoryError:Java heap space」というエラーが出てきました。
最初はエラーが出ていなかったのですが、服や髪などをどんどん追加していくと
頻繁に出るようになりました。

調べてもヒープ領域不足がどうのこうので、知識がなく解決できませんでした。
解決方法があれば教えていただけますでしょうか。

画像は大きめのサイズを使っており、
バージョンは0.9.9.9を使用しています。

どうぞよろしくお願いします。

Reply to #84270×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

Re: java.lang.OutOfMemoryError:Java heap space (2020-09-23 21:21 by Val #85899)

当方の環境でもプロファイルを開くときに同じエラーが出てくる場合があるのですが

CharacterManaJ.jar(実装バージョン: 0.9.9.9.201902.172350)
こちらを使った場合には手持ちのプロファイル全てを問題なく読み込むことができるのに

charactermanaj.exe(実装バージョン: 0.9.9.9.201902.172359)
の方を使った場合のみエラーが出てきてきます
エラー内容もMemoryError一行のみ出てくるものと、
さらに下記のようなエラーが追加で出てくるものがあります
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source)
at sun.java2d.loops.MaskBlit$General.MaskBlit(Unknown Source)
at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Unknown Source)
at sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source)
at sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source)
at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
at sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at charactermanaj.graphics.io.ImageLoaderImpl.convertARGB(ImageLoaderImpl.java:78)
at charactermanaj.graphics.io.ImageLoaderImpl.load(ImageLoaderImpl.java:50)
at charactermanaj.graphics.io.ImageCachedLoader.load(ImageCachedLoader.java:40)
at charactermanaj.graphics.ColorConvertedImageLoaderImpl.load(ColorConvertedImageLoaderImpl.java:66)
at charactermanaj.graphics.ColorConvertedImageCachedLoader.load(ColorConvertedImageCachedLoader.java:51)
at charactermanaj.graphics.ImageBuilderImpl.buildImage(ImageBuilder.java:505)
at charactermanaj.graphics.ImageBuilderImpl.requestJob(ImageBuilder.java:573)
at charactermanaj.graphics.AsyncImageBuilder.run(AsyncImageBuilder.java:111)
at java.lang.Thread.run(Unknown Source)
Reply to #84270

Reply to #85899×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

Re: java.lang.OutOfMemoryError:Java heap space (2021-01-26 19:59 by seraphy #86830)

メッセージ #85899 への返信

ご連絡ありがとうございます。
久しくメンテナンスしていなかったのですが、これから見てみようと思います。
しばらくお待ちください。
Reply to #85899

Reply to #86830×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

Re: java.lang.OutOfMemoryError:Java heap space (2021-06-12 18:47 by orangedaikon #87626)

Reply To Message #84270
> キャラクターなんとかJ、使わせて頂いております。
> 素晴らしいツールをありがとうございます。
>
> 製作中、動作確認をしていたら
> 「java.lang.OutOfMemoryError:Java heap space」というエラーが出てきました。
> 最初はエラーが出ていなかったのですが、服や髪などをどんどん追加していくと
> 頻繁に出るようになりました。
>
> 調べてもヒープ領域不足がどうのこうので、知識がなく解決できませんでした。
> 解決方法があれば教えていただけますでしょうか。
>
> 画像は大きめのサイズを使っており、
> バージョンは0.9.9.9を使用しています。
>
> どうぞよろしくお願いします。

Hello, I am getting a similar error to the topic creator's, except it is "java.lang.OutOfMemoryError: GC overhead limit exceeded". I am running version 0.9.9.9. This happens when I am importing a new image collection to a new profile. I have pasted the entire error log below.

java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.awt.Container.<init>(Container.java:106)
at javax.swing.JComponent.<init>(JComponent.java:588)
at javax.swing.AbstractButton.<init>(AbstractButton.java:75)
at javax.swing.JButton.<init>(JButton.java:132)
at javax.swing.JButton.<init>(JButton.java:91)
at javax.swing.JButton.<init>(JButton.java:122)
at charactermanaj.ui.ColorDialog.<init>(ColorDialog.java:310)
at charactermanaj.ui.MainFrame.initComponent(MainFrame.java:825)
at charactermanaj.ui.MainFrame.<init>(MainFrame.java:454)
at charactermanaj.ui.ProfileListManager.openProfile(ProfileListManager.java:197)
at charactermanaj.ui.MainFrame.onImportNew(MainFrame.java:2161)
at charactermanaj.ui.MainFrame$34.actionPerformed(MainFrame.java:2977)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
Reply to #84270

Reply to #87626×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

Re: java.lang.OutOfMemoryError:Java heap space (2021-06-16 16:49 by seraphy #87633)

This matter is still under investigation.

However, there is a report that there is no problem in the previous version.

Reply to #87626

Reply to #87633×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden