Loading ...
Sorry, an error occurred while loading the content.

Re: [pcgen] Re: [BUG] [Howto] [Fix] Low memory related crashes on Mac OS 10.6

Expand Messages
  • Eric C Smith
    And keep us informed of any continued issues. A console dump might be useful . . . If you can get when after a crash. M
    Message 1 of 8 , Jun 28, 2011
    • 0 Attachment
      And keep us informed of any continued issues.

      A console dump might be useful . . . If you can get when after a crash.

      M

      On Jun 28, 2011, at 9:15 AM, Eric C Smith wrote:

      > Hi Paul,
      >
      > The RSRD is more formally called SRD 3.5.
      >
      > Maredudd
      >
      > On Jun 28, 2011, at 9:06 AM, phlampe wrote:
      >
      >> Hello Eric !
      >>
      >> Thanks for answering my post.
      >>
      >> Since yesterday, I've had only 1 crash (and used PCGen to create 2 new 2nd level characters with the Pathfinder for Player data), so I don't know what caused the repeated crashes from last week. The only change is that I left the augmented memory max option.
      >>
      >> What is the RSRD ? Where can I find it ? On the Load Sources screen, I only have 7 sources: MSRD, SRD 3.0 for players, SRD 3.0 for Gamemasters, SRD 3.5 for Payer/GM, Pathfinder for Player/GM.
      >>
      >> Paul-Henri
      >>
      >> --- In pcgen@yahoogroups.com, Eric C Smith <maredudd@...> wrote:
      >>>
      >>> Phlampe,
      >>>
      >>> Have you tried to load the RSRD and see what happens?
      >>>
      >>> Also, load the PF sets pone at a time starting with the Core set and see if that has an effect.
      >>>
      >>> Maredudd
      >>>
      >>> On Jun 24, 2011, at 4:21 AM, phlampe wrote:
      >>>
      >>>> Hello Maredudd !
      >>>>
      >>>> You're right, there is another issue: I keep getting frequent crashes, even with more memory allocated (opening PCGen and loading the Pathfinder data files uses 300 Mb of real mem and 663 Mb of virtual mem according to the Activity Monitor). I also tried it on my home computer (an 2009 24" iMac, with 4 Gb of RAM), and it ran fine.
      >>>>
      >>>> I removed the Auto Generate Equipment option, with no success (a glitch ? the option was set, but none of the 4 ones that depended from it was checked: so was it doing anything anyway ?)
      >>>>
      >>>> Some other symptoms:
      >>>> I start PCGen: all is fine
      >>>> I load the Pathfinder player data files: all fine
      >>>> I open a character file: it displays the Summary page, and then starts using all the CPU it can and crashes
      >>>>
      >>>> Some other tests:
      >>>> . change display style from Kunstoff to System: no change, still crashes
      >>>> . reopened 5 character files, no problems, memory goes up to 405 Mb (real)/ 712 Mb (VM)
      >>>> . changed back to Kunstoff, still no crash
      >>>> . switched back the auto-generation, no crash
      >>>>
      >>>> I can post the crash dump if it helps, but it seems related to my Mac in a way or another. So I'll just keep trying and see if I can find some kind of reason behing those crashes.
      >>>>
      >>>> Seeya,
      >>>> Paul-Henri
      >>>>
      >>>> --- In pcgen@yahoogroups.com, Eric C Smith <maredudd@> wrote:
      >>>>>
      >>>>> Hi Folks!
      >>>>>
      >>>>> I run PCGen 5.16.4 on a Mac Book Pro with 4GM RAM and running Mac OSX 10.6.7 and the latest Java release from Apple and don't run into this problem. Do you have PCGen set to "Automatically Generate Equipment"? This would be in the Settings/Preferences/Equipment section. If it is set to auto generate, try turning it off and see how that effects your machine.
      >>>>>
      >>>>> In general, increasing the memory allocation is easy enough to do when I build the Mac Install file, and as Macs these days are delivered with lots more memory than they used too, the real question is how much is enough and how much is too much, especially considering that some of our users may be using older machines. I personally set my memory to 512m and 1024m, but then even on my G5 I have 4GB RAM.
      >>>>>
      >>>>> Maredudd
      >>>>>
      >>>>> On Jun 23, 2011, at 11:09 AM, phlampe wrote:
      >>>>>
      >>>>>> Hello All !
      >>>>>>
      >>>>>> This isn't actually a code related bug, but a config fix for repeated
      >>>>>> crashes due to not enough memory allocated to PCGen on Mac OS 10.6. I
      >>>>>> don't know how specific this problem is, since I have been (re)using
      >>>>>> PCGen for not very long.
      >>>>>>
      >>>>>> Here's the context:
      >>>>>> Mac OS 10.6.7 running on a Mac Pro 2008, 8 cores, with 10 Gb of RAM
      >>>>>> Java version: 64 bits, 1.6.0_24
      >>>>>> PCGen version 5.16.4
      >>>>>>
      >>>>>> Symptoms
      >>>>>> Frequent (50%) java crashes when opening character files, and after
      >>>>>> loading the Pathfinder for player data files. My characters are young (a
      >>>>>> party of level 2 pcs) , so they aren't loaded (yet) with numerous ubber
      >>>>>> options, feats or items. Just a very small number of them (what you can
      >>>>>> expect from a normal level of play and fresh 2nd level chars).
      >>>>>>
      >>>>>> My fix
      >>>>>> I doubled the memory values on VMOptions in the info.plist file, found
      >>>>>> in "PCGen 5.16.4" -> Contents folder (to see it in the Finder, you have
      >>>>>> to use Show Package Contents in the right-click menu on the PCGen app
      >>>>>> icon).
      >>>>>>
      >>>>>> Original values
      >>>>>> VMOptions -Xms128m -Xmx512m
      >>>>>>
      >>>>>> New values
      >>>>>> VMOptions -Xms256m -Xmx1024m
      >>>>>>
      >>>>>> I'm not sure that doubling the Xms value is useful (it's the minimum
      >>>>>> amount of memory allocated at startup), but doubling the Xmx (the max
      >>>>>> memory) surely is.
      >>>>>> Now, the real fix would be for the developper monkeys to include this
      >>>>>> change in the next release of PCGen :-)
      >>>>>>
      >>>>>> I hope this helps,
      >>>>>> Paul-Henri
      >>>>>>
      >>>>>> [Non-text portions of this message have been removed]
      >>>>>>
      >>>>>>
      >>>>>
      >>>>>
      >>>>>
      >>>>> [Non-text portions of this message have been removed]
      >>>>>
      >>>>
      >>>>
      >>>
      >>>
      >>>
      >>> [Non-text portions of this message have been removed]
      >>>
      >>
      >>
      >
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >
      > ------------------------------------
      >
      > Related Lists
      > PCGen's release site: http://pcgen.sourceforge.net
      > PCGen's Wiki: http://wiki.pcgen.org/
      > PCGen's Roadmap: http://wiki.pcgen.org/index.php?title=Roadmap
      > PCGen's alpha build: http://pcgen.sourceforge.net/07_autobuilds.php
      > PCGen's Online Docs: http://pcgen-test.org/autobuilds/pcgen-docs/index.html
      > PCGen's Backup Autobuilds and Docs: http://pcgen.akozakis.id.au/autobuilds/download.html
      >
      > PCGen List File Help: http://tech.groups.yahoo.com/group/PCGenListFileHelp/
      > (for assistance in creating new homebrew or official list files)
      >
      > PCGen Experimental: http://tech.groups.yahoo.com/group/pcgen_experimental/
      > (for new official data source development)
      > Yahoo! Groups Links
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.