5E Character Create Playlist
  1. #1

    Runtime Error: Exception: bad allocation

    Hey guys,

    I'm getting the error, "Runtime Error: Exception: bad allocation" when I run FG. This has been happening since the last update. I've got 32gb of ram and it happens even with it's just FG running so I don't think it's a lack of memory which some of the other posts I read suggested.

    I had a lot of tokens and saw that too many tokens might cause it. I moved all of my tokens out of the folder, restarted, and it still is giving the same error.

    I've had great experience with FG, but I currently am unable to use it as it stands. Should I just completely reinstall FG? If so, how should i go about backing up everything so I don't lose it all?

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    21,109
    You can reinstall FG without harming any of your data but you can back it up first as a precaution. You'll find all your data files by clicking on the folder icon in the start up screen.

    Bad Allocation usually indicates a memory issue but you can check to see how much memory FG is using by opening up the Task Manager and then click on the processes tab. Start up FG and watch what memory it uses. If it gets up around 3Gb then that is the problem. Having said all that just running FG on a new campaign would not be a problem. If you have a huge amount of stuff open in your existing campaigns then it could be an issue. I haven't heard of a DM having the problem though.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  3. #3
    Yea, I made a brand new blank campaign and it still immediately crashes. I'll try reinstalling and report back if it works.

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,676
    Quote Originally Posted by DMZeff View Post
    I've got 32gb of ram and it happens even with it's just FG running so I don't think it's a lack of memory which some of the other posts I read suggested.
    FG is a 32-bit application, which has limited memory access - so it doesn't matter if the computer has lots of memory, FG is still limited to using somewhat less than 4GB of memory on a 64-bit operating system and issues start to occur once memory use for FantasyGrounds.exe exceeds 3GB.

    Reinstall FG and see if that changes anything.

    If not, monitor the memory use of FantasyGrounds.exe when you start up and see what it is using when you get the bad allocation errors.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  5. #5
    That makes a lot of sense Trenloe. It seems that I'm hitting the 3gb even after reinstalling. I'm guessing it's because I've got a ton of custom tokens. It hasn't crashed since I moved out the custom tokens. Seems to be fixed for now.

  6. #6
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,676
    Quote Originally Posted by DMZeff View Post
    That makes a lot of sense Trenloe. It seems that I'm hitting the 3gb even after reinstalling. I'm guessing it's because I've got a ton of custom tokens. It hasn't crashed since I moved out the custom tokens. Seems to be fixed for now.
    Lots of tokens (and large tokens) will use up a lot of memory as they are all loaded when FG starts. It's recommended to put tokens into a few different modules and activate the relevant module just when you need it.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

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
  •  
5E Product Walkthrough Playlist

Log in

Log in