Page 1 of 1

Draft Slowdown

PostPosted: 28 Feb 2011, 13:36
by slyphidine
Allow me to preface by saying that Forge is the best Magic program since the original Microprose game. You guys do incredible work, and I hope you recognize how many huge fans you have.

I've found that when I run the draft portion of Forge, it gets progressively slower as I go through the draft. At midway through pack 2 (pick 9 or so), it freezes completely and I have to force quit. I can't find anyone else reporting on such an issue.

I'm running it on Windows XP SP3 running Java 6 Update 23. Any ideas as to what might be causing this?

Re: Draft Slowdown

PostPosted: 28 Feb 2011, 13:50
by Chris H.
Download the 02-19-2011 beta from our forum if you are using an earlier version.

Follow the instructions located in the "readme.txt" file.

People using the Windows OS should double click the "forge.exe" file to run Forge rather than double clicking on the JAR file.

Re: Draft Slowdown

PostPosted: 28 Feb 2011, 16:22
by Rob Cashwalker
I'm suspecting the issue is related to the set pictures stuff, since a draft will potentially need to track and display 360 cards at once. The heap space may be related.

Re: Draft Slowdown

PostPosted: 28 Feb 2011, 16:28
by slyphidine
Upon downloading the latest version (2/19), the problem was resolved. Thanks for your help.

When I go to open the draft deck after I finish, it tells me no decks are found. I believe this is a known problem (or at least one that has come up from time to time), but I don't know the solution.

Thanks!

Re: Draft Slowdown

PostPosted: 28 Feb 2011, 19:55
by mtgrares
I'm not sure if this answers your question but after you choose all of your draft cards, save your draft. Now open the deck editor and select "New Deck - Draft" which lets you create your deck from your draft file that you saved. Save your deck and then you should be able to open it in the "New Game" screen.

Re: Draft Slowdown

PostPosted: 03 Mar 2011, 20:14
by tchiseen
I'm having the same 'slowdown' problem:

I've got the /jar running with 1GB of physical ( I have 6 ) and it's still really slow.

I'm using 19/2

Any suggestions?

Edit: I just finished a draft, tried to open deck editor to play with it and I got this:
| Open
Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


GC overhead limit exceeded


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows 7 Version: 6.1 Architecture: amd64

Java Version: 1.6.0_16 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.ArrayList.<init>(Unknown Source)
   at java.util.ArrayList.<init>(Unknown Source)
   at forge.Card_Color.toStringArray(Card_Color.java:56)
   at forge.CardUtil.getColors(CardUtil.java:97)
   at forge.CardListUtil$15.addCard(CardListUtil.java:313)
   at forge.CardList.filter(CardList.java:289)
   at forge.CardListUtil.getColor(CardListUtil.java:309)
   at forge.Gui_DeckEditor.getStats(Gui_DeckEditor.java:612)
   at forge.Gui_DeckEditor.access$4(Gui_DeckEditor.java:603)
   at forge.Gui_DeckEditor$7.tableChanged(Gui_DeckEditor.java:575)
   at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
   at javax.swing.table.AbstractTableModel.fireTableDataChanged(Unknown Source)
   at forge.TableModel.addCard(TableModel.java:150)
   at forge.TableModel.sort(TableModel.java:322)
   at forge.TableModel.resort(TableModel.java:289)
   at forge.Gui_DeckEditor.updateDisplay(Gui_DeckEditor.java:241)
   at forge.Gui_DeckEditor_Menu.newConstructed(Gui_DeckEditor_Menu.java:283)
   at forge.Gui_DeckEditor.show(Gui_DeckEditor.java:481)
   at forge.Gui_NewGame.deckEditorButton_actionPerformed(Gui_NewGame.java:485)
   at forge.Gui_NewGame$10.actionPerformed(Gui_NewGame.java:388)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:111)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
And on restart when I try to load the draft decks I get this
| Open
Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


Index: 0, Size: 0


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows 7 Version: 6.1 Architecture: amd64

Java Version: 1.6.0_16 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.Deck.getMain(Deck.java:91)
   at forge.Gui_DeckEditor_Menu.showDraftDeck(Gui_DeckEditor_Menu.java:941)
   at forge.Gui_DeckEditor_Menu.openDraft(Gui_DeckEditor_Menu.java:933)
   at forge.Gui_DeckEditor_Menu.access$10(Gui_DeckEditor_Menu.java:921)
   at forge.Gui_DeckEditor_Menu$23$1.run(Gui_DeckEditor_Menu.java:1372)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)