JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-225  -  Invalid remove() operation after OutOfMemory exception
Posted Feb 26, 2014 - updated Feb 27, 2014
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     chris.tian
  • Owned by
    Not owned by anyone
  • Category
    Client
  • Resolution
    RESOLVED
  • Priority
    High
  • Reproducability
    Often
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 4.0.1
Issue description
WARNING: java.lang.OutOfMemoryError: Java heap space
Feb 26, 2014 7:10:13 PM org.jppf.client.balancer.queue.TaskQueueChecker dispatch
SEVERE: An error occurred while attempting to dispatch task bundles. This is most likely due to an error in the load balancer implementation.
[client: driver-1 - TasksServer] Attempting connection to the JPPF task server at 192.168.56.1:11111
java.lang.UnsupportedOperationException: remove() is not supported on a CollectionMapIterator
  at org.jppf.utils.collections.AbstractCollectionMap$CollectionMapIterator.remove(AbstractCollectionMap.java:275)
  at org.jppf.client.balancer.queue.TaskQueueChecker.findIdleChannelIndex(TaskQueueChecker.java:289)
  at org.jppf.client.balancer.queue.TaskQueueChecker.retrieveChannel(TaskQueueChecker.java:270)
  at org.jppf.client.balancer.queue.TaskQueueChecker.dispatch(TaskQueueChecker.java:235)
  at org.jppf.client.balancer.queue.TaskQueueChecker.run(TaskQueueChecker.java:207)
  at java.lang.Thread.run(Thread.java:744)
Feb 26, 2014 7:10:13 PM org.jppf.client.ClassServerDelegateImpl run
WARNING: [driver-1 - ClassServer] caught java.io.EOFException: null, will re-initialise ...
[client: driver-1 - ClassServer] Attempting connection to the class server at bootcamp-pc:11111
Feb 26, 2014 7:10:13 PM org.jppf.client.ClassServerDelegateImpl init
Steps to reproduce this issue
1. Have only one node running in a virtual machine. 2. Startup a driver on any other client. 3. Delegate many memory intensive tasks to nodes. In this example recursive calculation of Fibonacci numbers (>40).


#4
Comment posted by
 lolo4j
Feb 27, 06:07
fixed in