Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

class NSCFString autoreleased with no pool in place - just leaking

Ads

 
 

Share on Google+Share on Google+

Deepak Kumar
class NSCFString autoreleased with no pool in place - just leaking
1 Answer(s)      6 years and 5 months ago
Posted in : MobileApplications

Hi,

In my application following error is coming:

class NSCFString autoreleased with no pool in place - just leaking

What is the solution?

Thanks

Ads
View Answers

February 9, 2011 at 11:44 AM


Hi,

If you are running your thread then put your code between NSAutoreleasePool object as shown below:

NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

*** Your code here ***

[pool release];

Thanks


Ads









Related Tutorials/Questions & Answers:
POOL
and filling pools. Create pool class that calculates the price of a service call...) for a pool. Pool class should have methods to calculate volume, capsity... on the amount of time it will take to fill a customer's pool with water. Table below
Pool Chlorine
Pool Chlorine  *** Deleted by Admin ***** Pool Chlorine Watson's of Cincinnati is a toy store for adults offering above ground pools, pool supplies, Envisions Home Theater electronics, home theater furniture, casual patio
Advertisements
Pool Chemicals
Pool Chemicals  **delted by admin *** a toy store **deleted by admin** offering above ground pools, pool supplies, Envisions Home Theater electronics, home theater furniture, casual patio furniture, spas & hot tubs etc
Version of commons-pool>commons-pool dependency
List of Version of commons-pool>commons-pool dependency
Version of excalibur-pool>excalibur-pool dependency
List of Version of excalibur-pool>excalibur-pool dependency
place reservation in plane
place reservation in plane   hi,how can i write a program in Java programming to place reservation in air plane from the menu let the user to inter his/her name, age, date of traveling, and the seat in the plane
Version of excalibur-pool>excalibur-pool-api dependency
List of Version of excalibur-pool>excalibur-pool-api dependency
Version of excalibur-pool>excalibur-pool-impl dependency
List of Version of excalibur-pool>excalibur-pool-impl dependency
Version of excalibur-pool>excalibur-pool-instrumented dependency
List of Version of excalibur-pool>excalibur-pool-instrumented dependency
to use ArrayList in the place of Vector
to use ArrayList in the place of Vector  public Enumeration getInterfaces() { ISCMetaType currentType = this; ArrayList allInterfaces = new ArrayList(); while( currentType != null
to use ArrayList in the place of Vector
to use ArrayList in the place of Vector  public Enumeration getInterfaces() { ISCMetaType currentType = this; ArrayList allInterfaces = new ArrayList(); while( currentType != null
JavaScript where to place in HTML
JavaScript where to place in HTML   Where to place JavaScript code into HTML Code?   Placing JavaScript code into HTML Code In HTML, JavaScript can be declared anywhere either in <Head>? or <Body>? Tag
Connection Pool
;tr class=barheader><td>Directive</td><td>Local Value<
Java-Connection Pool - JDBC
Java-Connection Pool  How can I create a connection pool. My database... is Weblogic 8. Which is the best approach to create a connection pool?  Hi friend,import java.sql.*;import java.io.*;public class ConnectionPool
threads & autorelease pool
threads & autorelease pool  How to set autorelease pool for NSThread method in Objective C?   [NSThread detachNewThreadSelector:@selector... { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; //Do stuff [pool release
Place array of bytes in buffer
Place array of bytes in buffer In this tutorial you will see how to place array of bytes in buffer. The put method of CharBuffer class transfers the entire content of the given source character array into a buffer. Code
Place array of double in a buffer
Place array of double in a buffer In this tutorial you will see how to place array of double in buffer. The put method of DoubleBuffer class transfers the entire content of the given source double array into a buffer. Code
Java-Connection Pool - JDBC
Java-Connection Pool  How can I create a connection pool. My database is MS SQL server 2000(username-sa, pwd-admin) and my application server is Weblogic 8. Which is the best approach to create a connection pool? Kindly help
Enhancement for connection pool in DBAcess.java
Enhancement for connection pool in DBAcess.java  package spo.db...*; import java.sql.*; import java.util.Properties; public class DBAccess... database connection pool."); else return connection1; } public
Inserting id in place of name to database
Inserting id in place of name to database  Hello, I have a database department where I have "id" and "name". I am fetching this data to a jsp form... this form to another table and in place of "name" of department I wanted to insert
Artifacts of commons-pool
List of Artifacts of commons-pool maven depenency
Artifacts of excalibur-pool
List of Artifacts of excalibur-pool maven depenency
class
class  Is a class a subclass of itself
Swimming Pool Calculator - Java Beginners
Swimming Pool Calculator  I have to write a program to calculate the volume of a swimming pool. The assignment is as follows: This Swimming Pool... depth of a pool and the program will calculate the volume of that pool based
PHP Class Object
PHP Class Object: In object oriented programming a class can be an abstract data type, blue print or template. You could consider the name of a class as noun like name of a person, place or thing.  For example Fruit is a class, where
class
is a class to represent a country in medal tally. It has an attribute of country... medals. In this class, you should also define constructors, and assessor, mutator methods. Task 2 MedalTally.java is a class to model a medal tally, containing
Maven Dependency commons-pool >> 1.1
You should include the dependency code given in this page to add Maven Dependency of commons-pool >> commons-pool version1.1 in your project
Maven Dependency commons-pool >> 1.2
You should include the dependency code given in this page to add Maven Dependency of commons-pool >> commons-pool version1.2 in your project
Maven Dependency commons-pool >> 20020501
You should include the dependency code given in this page to add Maven Dependency of commons-pool >> commons-pool version20020501 in your project
Maven Dependency commons-pool >> 20030821.192746
You should include the dependency code given in this page to add Maven Dependency of commons-pool >> commons-pool version20030821.192746 in your project
Maven Dependency excalibur-pool >> 1.2
You should include the dependency code given in this page to add Maven Dependency of excalibur-pool >> excalibur-pool version1.2 in your project