Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.7
    • Component/s: Database
    • Labels:
      None
    • Forum Username:
      AlanAinslie

      Description

      This occurred after matching 64,000 out of 128,000 songs but screenshot doesnt show much memory was being used so looks like a temporary spike and I think we could have handled this quietly and only give up if it re-ocurred.

      24/02/2017 17.50.47:CST:com.jthink.songkong.analyse.general.Errors:addError:SEVERE: Adding Error:SongKong is short of memory, task has to be cancelled to prevent further problems Java heap space
      java.lang.Exception
      at com.jthink.songkong.analyse.general.Errors.addError(Errors.java:36)
      at com.jthink.songkong.exception.ExceptionHandling.handleOutOfMemory(ExceptionHandling.java:134)
      at com.jthink.songkong.analyse.analyser.SongSaver.saveSongToFile(SongSaver.java:704)
      at com.jthink.songkong.analyse.analyser.SongSaver.saveChanges(SongSaver.java:190)
      at com.jthink.songkong.analyse.analyser.SongSaver.call(SongSaver.java:165)
      at com.jthink.songkong.analyse.analyser.SongSaver.call(SongSaver.java:59)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      24/02/2017 17.50.48:CST:com.jthink.songkong.exception.ExceptionHandling:handleOutOfMemory:SEVERE: Cancelling because of OutOfMemoryError:Java heap space
      java.lang.OutOfMemoryError: Java heap space
      at java.lang.reflect.Array.newInstance(Unknown Source)
      at org.hibernate.type.descriptor.java.ArrayMutabilityPlan.deepCopyNotNull(ArrayMutabilityPlan.java:43)
      at org.hibernate.type.descriptor.java.MutableMutabilityPlan.deepCopy(MutableMutabilityPlan.java:57)
      at org.hibernate.type.AbstractStandardBasicType.deepCopy(AbstractStandardBasicType.java:340)
      at org.hibernate.type.AbstractStandardBasicType.deepCopy(AbstractStandardBasicType.java:336)
      at org.hibernate.type.TypeHelper.deepCopy(TypeHelper.java:67)
      at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:267)
      at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:134)
      at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:999)
      at org.hibernate.loader.Loader.doQuery(Loader.java:878)
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:293)
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:263)
      at org.hibernate.loader.Loader.loadEntity(Loader.java:1977)
      at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:82)
      at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:72)
      at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3821)
      at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:458)
      at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:427)
      at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:204)
      at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:260)
      at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:148)
      at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1075)
      at org.hibernate.internal.SessionImpl.access$2000(SessionImpl.java:175)
      at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2421)
      at org.hibernate.internal.SessionImpl.get(SessionImpl.java:971)
      at com.jthink.songkong.db.SongCache.loadSongFromDatabase(SongCache.java:83)
      at com.jthink.songkong.analyse.analyser.SongSaver.saveSongToFile(SongSaver.java:641)
      at com.jthink.songkong.analyse.analyser.SongSaver.saveChanges(SongSaver.java:190)
      at com.jthink.songkong.analyse.analyser.SongSaver.call(SongSaver.java:165)
      at com.jthink.songkong.analyse.analyser.SongSaver.call(SongSaver.java:59)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      24/02/2017 17.50.48:CST:com.jthink.songkong.analyse.toplevelanalyzer.FixSongsController:start:SEVERE: Start:Interrupted - shutting down tasks immediately

        Attachments

          Activity

            People

            • Reporter:
              paul Paul Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: