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

Re: Program working very slow

Expand Messages
  • FatalSaint
    At least in my case, I had already tried this with the 5.16.4 release. I have 4GB RAM and run Linux with a lightweight desktop - I had plenty memory to spare.
    Message 1 of 9 , Apr 18, 2012
    • 0 Attachment
      At least in my case, I had already tried this with the 5.16.4 release.

      I have 4GB RAM and run Linux with a lightweight desktop - I had plenty memory to spare. But the speed gain was virtually non-existent for me. Nothing like the speed boost going to 5.17.x provided.

      I have to do this trick for 5.17.x though, as after a load or two of the sources I start getting Java HEAP Out Of Memory errors with the defaults. Bumping up to 1G got rid of that.

      Thanks for the patch.

      --- In pcgen@yahoogroups.com, Henk Slaaf <henk@...> wrote:
      >
      > >
      > >
      > > I had this problem as well on Arch Linux 64-bit with a quad-core
      > > processor.
      > >
      > > Using the latest stable (5.16.4), and loading several converted CMP sets,
      > > the program could take minutes to change tabs. Also, any time I switched to
      > > a different application and then switched back to pcgen it would freeze for
      > > a minute or two before I could work. I had to wait this time, too, if I
      > > switched from the application while it was frozen and came back a minute
      > > later it would just start over again.
      > >
      >
      > Hello all,
      >
      > This might be caused by lack of memory, which has loads of side-effects,
      > one of them is loading sources slowly in the latest 5.17 series on amd64.
      > It also relates to tabs opening slowly or general lag.
      >
      > The first thing I do after downloading PCGen is raising the memory limit
      > for the program.
      >
      > Please try the following line in pcgen.sh:
      >
      > diff --git a/pcgen.sh b/pcgen.sh
      > > old mode 100644
      > > new mode 100755
      > > index 8d06266..8c7b637
      > > --- a/pcgen.sh
      > > +++ b/pcgen.sh
      > > @@ -18,7 +18,7 @@ then
      > > fi
      > >
      > > # To load all sources takes more than the default 64MB.
      > > *-javaargs="-Xms128m -Xmx256m"*
      > > *+javaargs="-Xms256m -Xmx512m"*
      > > pcgenargs=""
      > > whosearg=java
      >
      >
      >
      > You could try 512MB to 1024MB if you have it to spare. I usually set it
      > hight, because my machine has loads and I'm not doing visual work while
      > editing my characters, so whatever.
      >
      > Good luck,
      >
      > Henk
      >
      >
      > [Non-text portions of this message have been removed]
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.