Results 1 to 9 of 9

Thread: Limit on amount of Prefab Data?

  1. #1
    Join Date
    Feb 2003
    Location
    Lake Oswego, OR
    Posts
    121
    Rep Power
    87

    Limit on amount of Prefab Data?

    We tried to load all the Prefabs associated with the UNTIL Database, and it appears that there's an upper limit on the amount of Prefab data that will load. We only got about halfway before they stopped loading.

  2. #2
    Join Date
    Feb 2003
    Location
    Chased over the Burnt Tundra
    Posts
    5,443
    Blog Entries
    1
    Rep Power
    2099281

    Re: Limit on amount of Prefab Data?

    Originally posted by Caped Crusader
    We tried to load all the Prefabs associated with the UNTIL Database, and it appears that there's an upper limit on the amount of Prefab data that will load. We only got about halfway before they stopped loading.
    Hey! Lake Oswego. Not too far from zornwil & myself in Portland.

    Check the trace.log and see what the memory usage is. Or there might be other clues in there.

  3. #3
    Join Date
    Feb 2003
    Location
    Lake Oswego, OR
    Posts
    121
    Rep Power
    87

    You may be on to something...

    I did it again, and when it stops loading, the last line of the trace file reads...

    java.lang.OutOfMemoryError

    The trace file says that it's bouncing around 63.56MB memory as the top-end limit.
    I have 256MB of RAM, if it matters...

  4. #4
    Join Date
    Feb 2003
    Location
    Chased over the Burnt Tundra
    Posts
    5,443
    Blog Entries
    1
    Rep Power
    2099281

    Re: You may be on to something...

    Originally posted by Caped Crusader
    I did it again, and when it stops loading, the last line of the trace file reads...

    java.lang.OutOfMemoryError

    The trace file says that it's bouncing around 63.56MB memory as the top-end limit.
    I have 256MB of RAM, if it matters...
    Yep. HD won't use more than 64MB. You can change that though in appPrefs.xml.
    Look for Max_Memory and change that upwards. That may help.

  5. #5
    Join Date
    Feb 2003
    Location
    Chased over the Burnt Tundra
    Posts
    5,443
    Blog Entries
    1
    Rep Power
    2099281
    Hmm, I set my MAX_MEMORY="512", but according to trace.log I crap out at 64.
    I've attached the trace and appPrefs

    Dan, am I setting this correctly?

  6. #6
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    If you want to bump up the memory, you'll need to edit HeroDesigner.lax -- the launcher configuration file.

    The line you'll be looking for will contain -Xmx64m change that to -Xmx128m if you want to allow HD to use up to 128MB.

    I would not recommend doing this, however. There is no practical reason for you to load the entirety of the USPD into HD at once and you should avoid doing so for performance reasons.
    White Hats are for CISSPs

  7. #7
    Join Date
    Dec 2003
    Location
    Beaverton, OR
    Age
    50
    Posts
    125
    Rep Power
    9

    Arrow

    Ok, just started using Hero designer 2.05 so am still new... BUT
    To me when building a Champions character I find that using the Until database would actually be easier most of the time than having the powers listed. I would like to have the full "menu" from Until there to choose from and "buy" body of fire (for example) and whatever other powers I want. If I need to "build" something from using the basic powers I have that option, but due to the database most powers I'll need are already there to choose.
    Ideally of course I have the powers there and all the prefab "powers" from Until at my fingertips. Far be it for me to bitch (and again, maybe I'm missing something ) but for $30 for the database I expected it to work seamlessly with 2.0 - just pick the already built power groups (like the already mentioned body of fire as an example) with all the special effects, etc, etc already built and ready to go.

  8. #8
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    Get over it.

    You're talking about having thousands of power constructs sitting there. It ain't gonna happen.

    This is the entire reason that the USPD character pack is distributed the way it is (as separate prefabs, divided by "type"): so you can pick individual types of powers to load in.

    Do not attempt to load in the entire USPD at once or you will (a) get out of memory errors and (b) have an excruciatingly long startup time.

    I really should have put a warning on the application: "Warning: Hero Designer will not protect you from yourself."
    White Hats are for CISSPs

  9. #9
    Join Date
    Feb 2003
    Location
    Washington, DC
    Age
    47
    Posts
    1,028
    Blog Entries
    2
    Rep Power
    1071
    Originally posted by Simon
    I really should have put a warning on the application: "Warning: Hero Designer will not protect you from yourself."
    LOL! Not busting on anyone, reallly! Its just been a loooong day writing code myself. Often times I've wanted to do this to our clients.

    Now back to the seriousness

    Aroooo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •