Results 1 to 4 of 4
  1. #1
    viking is offline Member
    Join Date
    Dec 2010
    Posts
    7
    Rep Power
    0

    Post NSConcreteMapTableValueEnumerator autoreleased Error

    Hi All,

    I have an application which is using thread and the application is doing a task every minute and goes on. The application runs for around four days continuously and it is getting stuck at one point and it is throwing an error as below on the console.


    2010-12-23 09:47:38.575 java[31924:1707] *** __NSAutoreleaseNoPool(): Object 0x10015b230 of class NSConcreteMapTableValueEnumerator autoreleased with no pool in place - just leaking


    Can someone please tell me why is this error caused?

    Let me add that this is being done on a mac machine.

    Thanks in advance

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,432
    Rep Power
    18

    Default

    What is that class?
    NSConcreteMapTableValueEnumerator?
    It's not part of the standard Java.

  3. #3
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

    Default

    Auto release pools are used in objective-C/mac specific applications. Given this is a java forum I presume your app is a java app and the task you are calling is outside your java app and thus dependent upon what you are calling (or perhaps how you are calling it), but without more information its a guess

  4. #4
    viking is offline Member
    Join Date
    Dec 2010
    Posts
    7
    Rep Power
    0

    Post

    It was a problem with database connection not being freed after use. May be that was causing the memory leakage. Thanks for the help.

Similar Threads

  1. java out of memory error-heap space error
    By elsanthosh in forum NetBeans
    Replies: 4
    Last Post: 06-15-2010, 09:31 AM
  2. Replies: 1
    Last Post: 03-10-2010, 01:53 PM
  3. Replies: 1
    Last Post: 12-05-2009, 07:28 AM
  4. Replies: 1
    Last Post: 10-26-2009, 04:38 PM
  5. Replies: 3
    Last Post: 01-23-2009, 08:53 AM

Posting Permissions

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