It is currently 18 Apr 2024, 03:35
   
Text Size

Crash Report

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Crash Report

Postby Potatogod » 25 Mar 2016, 19:47

Hello, I was playing Forge (started yesterday) and was going fine until I made a 75-card Angel deck. Then this error came up whenever I pushed a button.
Attachments
2016-03-25-00.txt
Here's the Report.
(3.18 KiB) Downloaded 116 times
Potatogod
 
Posts: 1
Joined: 25 Mar 2016, 19:33
Has thanked: 0 time
Been thanked: 0 time

Re: Crash Report

Postby asdfzxcv1234 » 08 May 2016, 09:09

Description: [describe what you were doing when the crash occurred]

[spoiler=OutOfMemoryError][code]
Forge Version: 1.5.48-r-1
Operating System: Mac OS X 10.11.4 x86_64
Java Version: 1.8.0_73 Oracle Corporation

java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOfRange(Arrays.java:3664)
at java.lang.String.<init>(String.java:207)
at java.lang.StringBuilder.toString(StringBuilder.java:407)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:3139)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:3083)
at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2787)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2747)
at java.util.Formatter.format(Formatter.java:2520)
at java.util.Formatter.format(Formatter.java:2455)
at java.lang.String.format(String.java:2940)
at forge.ImageCache.scaleImage(ImageCache.java:165)
at forge.ImageCache.getImageNoDefault(ImageCache.java:98)
at forge.CachedCardImage.<init>(CachedCardImage.java:19)
at forge.view.arcane.CardPanel$2.<init>(CardPanel.java:168)
at forge.view.arcane.CardPanel.updateImage(CardPanel.java:168)
at forge.view.arcane.CardPanel.setCard(CardPanel.java:532)
at forge.view.arcane.PlayArea.doUpdateCard(PlayArea.java:746)
at forge.view.arcane.PlayArea.updateCard(PlayArea.java:666)
at forge.screens.match.CMatchUI.updateCards(CMatchUI.java:443)
at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:57)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[/code][/spoiler]
asdfzxcv1234
 
Posts: 2
Joined: 08 May 2016, 09:06
Has thanked: 0 time
Been thanked: 0 time

Re: Crash Report

Postby asdfzxcv1234 » 08 May 2016, 09:21

It is painfully apparent the above out of memory error resulted from whoever wrote the Forge AI not understanding the computational complexity of what they were writing. (See: en . wikipedia . org / wiki / Big_O_notation )

The computer (playing the "Dungeon Crawling (White)" deck) had 19 creatures and 1 enchantment on the board with 4 cards in hand.

I had ~110 creatures, 8 enchantments, and one planeswalker on the board with 1 card in hand.

The error was the result of the AI attempting to determine how it was going to block the ~105 creatures i was attacking with.
asdfzxcv1234
 
Posts: 2
Joined: 08 May 2016, 09:06
Has thanked: 0 time
Been thanked: 0 time

Re: Crash Report

Postby xbon » 13 May 2016, 02:31

asdfzxcv1234 wrote:It is painfully apparent the above out of memory error resulted from whoever wrote the Forge AI not understanding the computational complexity of what they were writing. (See: en . wikipedia . org / wiki / Big_O_notation )

The computer (playing the "Dungeon Crawling (White)" deck) had 19 creatures and 1 enchantment on the board with 4 cards in hand.

I had ~110 creatures, 8 enchantments, and one planeswalker on the board with 1 card in hand.

The error was the result of the AI attempting to determine how it was going to block the ~105 creatures i was attacking with.
first and foremost, your version is very old now, try the newest version ( can find it here http://www.krazyweb.net/forge/ ), next, this isn't exactly the right place to post the problem, you should post in your version's thread or if you're using a snapshot version in the developer's corner.
xbon
 
Posts: 123
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times


Return to Forge

Who is online

Users browsing this forum: No registered users and 114 guests


Who is online

In total there are 114 users online :: 0 registered, 0 hidden and 114 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 114 guests

Login Form