It is currently 26 Aug 2025, 17:49
   
Text Size

Problems running Forge

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

Problems running Forge

Postby timmermac » 20 Jun 2011, 02:30

I've commented about this before, but my experiences today have prompted me to start a new topic about this issue. I am unable to play more than 2 consecutive matches in quest mode without my computer almost totally locking up. Changing memory settings in the Windows command line has absolutely no effect. Therefore, I now have three questions that I would like everyone to answer.

1: What are your system specs? Please include processor, RAM, video card, OS and anything else that would be relevant in a situation like this.

2: How many consecutive matches are you able to play in Forge quest mode before having to quit the program and reload?

3: If you've noticed a change in how long you are able to run Forge before having to quit and restart, when did you notice that change?

I am asking this because I am starting to get the distinct hint that system requirements should be included with this program, and my system no longer meets those requirements.

So, to answer my own questions.

1: Processor: Pentium 4 519K processor running at 3.06 GHz.
RAM: 1 GB (128 mb shared by video)
video: Intel 910/915 onboard video
OS: Windows XP service pack 3
I am currently running Forge from an external 500 GB USB 2.0 hard drive.
Most recent running of Forge was using -Xmx448m switch
I am using only LQ pics

2: I am currently able to play 2 consecutive matches in quest mode before having to quit the program and restart it. After attempting to play a third match, I get multiple Java error windows and my system performance slows to a complete crawl. I must go into Task Manager and close the javaw.exe process to restore functionality.

3: I noticed a slowdown in late January of 2011.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Problems running Forge

Postby Hellfish » 20 Jun 2011, 08:53

-Xmx1024m has been generally observed to alleviate problems greatly. Of course, that assumes you have more than 1GB of RAM. :/

Myself, I run a 2.6GHZ something or other CPU with 2GB RAM on XP SP3, and it even runs with HQ pictures fine for more matches than I play in a single sitting. Pretty sure video card doesn't factor in.

Running Forge through a JProbe trial or the like to check for memory leaks would probably be a good idea,too.

The slowdown in January is probably due to the introduction of the Trigger system.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Problems running Forge

Postby Sloth » 20 Jun 2011, 09:10

Hellfish wrote:Running Forge through a JProbe trial or the like to check for memory leaks would probably be a good idea,too.
Good idea.
I remember DennisBergkamp mentioning memory leaks in the quest mode. Fnoed hasn't been active for a while so checking manually would be a lot of work for us.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Problems running Forge

Postby Hellfish » 20 Jun 2011, 09:27

Turns out JProbe trials are for companies only. :/
I'm looking at some other things like IRAD and VisualVM,though. I should have web access at home today or tomorrow and will put the latest revision at the time through it's paces then.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Problems running Forge

Postby Chris H. » 20 Jun 2011, 14:00

timmermac wrote:I've commented about this before, but my experiences today have prompted me to start a new topic about this issue. I am unable to play more than 2 consecutive matches in quest mode without my computer almost totally locking up. Changing memory settings in the Windows command line has absolutely no effect. Therefore, I now have three questions that I would like everyone to answer.
`
I have a 3.06 GHz Intel Core 2 Duo with 4 GB 800 MHz DDR2 SDRAM. I use Apple's Mac OS X Snow Leopard version 10.6.7.

I noticed last year that forge would slow down even though I have 4 GB of RAM. Forge became unplayable for anything more than a quick test type of game. I had become accustomed to launching forge by double clicking the jar file and this gave me the default heap space setting. Increasing the java heap space improved my experience tremendously.

Timmermac, can you remove all of the pics in your pics folder and then play a few matches?
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Problems running Forge

Postby Jaedayr » 20 Jun 2011, 20:10

1.7 GHz AMD, 1GB RAM, Win XP SP3, NVidia 6800GT. (Yes, I know this is ancient.)

I had problems in the past when I was using a full group of HQ pics. Even after I switched to the LQ Set pics I was still having intermittent problems.

2048 MB Page file.
Forge parameter -Xms1000m -Xmx1000m

Using this parm has made a large difference for me. I can play for two or three hours with no noticeable slowdown. I do see some slowdown when there are a lot of cards on the battlefield, especially when there are some with activate-able abilities. Once the game is over, the next game is back up to normal speed.

The only other thing I can suggest is to make sure your page file is large enough to allocate 1000 MB to Forge when it starts, as well as having some additional room for other processes.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: Problems running Forge

Postby Hellfish » 20 Jun 2011, 21:34

Well, I'm learning the ropes of VirtualVM so I can't say that much yet, but to my untrained eye it looks like Forge's ImageCache isn't very good about actually caching the images. Is it even considering caching the resized image that is used for the card display?
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Problems running Forge

Postby DennisBergkamp » 20 Jun 2011, 22:29

Laptop i7 with 4 gigs of RAM, and a my desktop is a 2.4 ghz quad core with 6 gigs of RAM.

I play using HQ pics, and I haven't run in any trouble yet (I could easily play 4 - 5 games in a row from what I've tested, probably many more before it will run out of heap space).
It seems strange that it will crash that quickly though in your case, even with 1gb of RAM it should run LQ pics just fine.

Wasn't aware quest mode had memory leaks, but I ran into a lot of issues with the map /Shandalar part of quest mode (which I've been working on - and yes, I am STILL working on it diligently :) ), the only way I could fix the performance and heap space issues there was to just have my code shutdown the process, and start a new one. The way this works is that you run around on the map, start a battle (at this point the map part of the application forks a new process and then shuts itself down), then after the match is done, that process starts another new process which loads the map up again and kills itself. We could maybe do something like this for the regular quest mode as well as an option for people that are having heap space issues, where we just start new processes every time a match is started, or when the quest menu is loaded back up again.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Problems running Forge

Postby timmermac » 21 Jun 2011, 03:07

Jaedayr wrote:1.7 GHz AMD, 1GB RAM, Win XP SP3, NVidia 6800GT. (Yes, I know this is ancient.)

I had problems in the past when I was using a full group of HQ pics. Even after I switched to the LQ Set pics I was still having intermittent problems.

2048 MB Page file.
Forge parameter -Xms1000m -Xmx1000m

Using this parm has made a large difference for me. I can play for two or three hours with no noticeable slowdown. I do see some slowdown when there are a lot of cards on the battlefield, especially when there are some with activate-able abilities. Once the game is over, the next game is back up to normal speed.

The only other thing I can suggest is to make sure your page file is large enough to allocate 1000 MB to Forge when it starts, as well as having some additional room for other processes.
ChrisH wrote:I have a 3.06 GHz Intel Core 2 Duo with 4 GB 800 MHz DDR2 SDRAM. I use Apple's Mac OS X Snow Leopard version 10.6.7.

I noticed last year that forge would slow down even though I have 4 GB of RAM. Forge became unplayable for anything more than a quick test type of game. I had become accustomed to launching forge by double clicking the jar file and this gave me the default heap space setting. Increasing the java heap space improved my experience tremendously.

Timmermac, can you remove all of the pics in your pics folder and then play a few matches?
Chris, trying revision 9890 with no pics, I still have an issue with the third consecutive game, and there are still some slowdowns in places during matches.

Jaedayr, I've played consecutive matches with the parameters you mentioned, and it ran quite smoothly, for the most part. I'm going to start a new quest in 9890 with pics enabled and with your parameters and see how it goes. I'll post in a couple-ish hours.

Can we try packaging the next beta so that Forge.exe is set to run with -Xms1000m -Xmx1000m by default?

Edit: So far, I've been able to play 3 consecutive matches with only a slight slowdown in the third match. I'm about to try a fourth.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Problems running Forge

Postby timmermac » 21 Jun 2011, 16:28

Right now it looks like 3 consecutive matches is the most I can do with pictures and -Xms1000m -Xmx1000m. The fourth match had very definite slowdowns between phases.

Let's make sure I have the Windows command line right for doing this. I go to Start --> Run, then it looks like this: "N:\Forge Revision 9906\forge.jar" -Xms1000m -Xmx1000m

Is this how it should look, or do I need to move the switches inside the quotes?
Last edited by timmermac on 21 Jun 2011, 17:41, edited 1 time in total.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Problems running Forge

Postby DennisBergkamp » 21 Jun 2011, 16:47

I don't think you'll even need the quotes (unnecessary in Windows 7 anyway).
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time


Return to Forge

Who is online

Users browsing this forum: No registered users and 57 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 57 users online :: 0 registered, 0 hidden and 57 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 57 guests

Login Form