Solved OutOfMemoryError: PermGen space

Discussion in 'Bukkit Help' started by 9berend9, Dec 24, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    9berend9

    Hi everyone

    Today I released by server after a huge offline period, but at completely random moments, the server crashes saying "Encountered an unexpected exception java.lang.OutOfMemoryError: PermGen space"

    The server uses 16GB RAM. Plugins:

    AutoCraft
    Backup
    ChestShop
    Citizens
    CrackShot
    CraftBook
    CreeperHeal
    DynColor
    enchantHandicap
    EnjinMinecraftPlugin
    Essentials
    EssentialsSpawn
    Factions
    FactionsPlus
    GenerateRegion
    GrowthLimiter
    HealthBar
    HeroChat
    iConomy
    ItemRenamer
    LimitedCreative
    LWC
    mcore
    MineralManager
    MobBountyReloaded
    Modifyworld
    Multiverse-Core
    NoChatPlus
    Parachute
    PermissionsEx
    ProtocolLib
    Quester
    QuickTravel
    SafeCreeper
    SimpleAnnouncements
    starter-kit
    TerrainControl
    Vault
    WeatherClear
    WorldBorder
    WorldEdit
    WorldGuard

    I'm using Bukkit version 1.7.2-R0.2 Beta Build #2974

    [​IMG]

    I need this fixed very quickly because I promised the community we'd release today!
     
  2. Offline

    XboxFest

  3. Offline

    Ironraptor3

    I'm pretty sure a few of those plugins are causing memory leaks then, and the compounded memory leaks are putting too much strain on the memory. **ALERT** I'm still a pretty big noob myself when it comes to bukkit, but if you have access to the source codes, you should check if they have any lists, array lists, etc.. that store Player objects instead of player name strings. If you can't find which plugins are causing it, just use the plugins you know work. Hope your server goes well! :D Any other problems, just tell me, ill check back in a bit.
     
  4. Offline

    Bobcat00

    Some people have solved this problem by adding:
    Code:
    -XX:PermSize=256m
    
    to the Java command line.
     
    9berend9 likes this.
  5. Offline

    9berend9


    This fixed it for me. Thanks, you saved me from being killed by my own community there, somewhat!
     
  6. Offline

    Me4502


    PermGen is not really related to memory leaks, its about physical class storage. So its actually about the jars loaded. MC 1.7 added a lot of classes, causing PermGen issues.
     
  7. Offline

    Alkerti

    You can easily run out of memory with big bukkit projects, (bigger plugins).

    If you have too many worlds/plugins in use that could cause problems.
    I would suggest plugins that don't use MYSQL because my past with MYSQL isn't pretty. (slow startups and lag.)

    Fe to replace Iconomy
    and delete plugins that you're not using.

    I have never run into this permgen problem, Sorry.
     
Thread Status:
Not open for further replies.

Share This Page