Comments (6)
It's probably you. the profiler in Xcode is just showing you where the string is made. You might have retained it somewhere else down the line, and not released it. I'd check your code paths, and see what you're doing what that string later on.
from fmdb.
How the memory leak is fixed ? Me also facing the same issue . Profiler in Xcode shows memory leak for FMResultSet -stringForColumnIndex . Any help is appreciated.
from fmdb.
This is my actual code snippet. Is there any thing I miss or any thing wrong with the code ? Me stuck with serious memory crash in FMResultSet.
NSAutoreleasePool * innerPool = [[NSAutoreleasePool alloc] init];
FMResultSet *results = [appDelegate.database executeQuery:@"select * from story where story_id = ?", [NSNumber numberWithInteger:self.playstoryid]];
NSString *page;
NSString *title;
page = @"add-your-story-cover-page.png";
title = @"story";
while([results next])
{
title = [results stringForColumn:@"story_title"];
page = [results stringForColumn:@"story_cover_page"];
NSLog(@"User: %@ - %@",title, page);
}
[results close];
[innerPool release];
from fmdb.
I'm not sure what to tell you. Unless you can provide a reproducible case, from start to finish using a single method, I can't help ya.
from fmdb.
OK .Thanks for your reply .
from fmdb.
Hi Kannan, have you resolved your issue.. i am facing the same problem here.. If you could can you help me
from fmdb.
Related Issues (20)
- Support for visionOS HOT 6
- Apple Privacy Manifest HOT 10
- FMDB 2.7.8 is not published on cocoapods HOT 3
- I encountered an issue where using UPDATE fails to update, but using INSERT OR REPLACE doesn't. HOT 1
- 无法通过git clone下载到本地 HOT 2
- PrivacyInfo.xcprivacy file did not be exposed HOT 6
- FMDB 2.7.8 is not available on cocoapods HOT 2
- xcodebuild: xcodebuild: error: Found no destinations for the scheme 'FMDB' and action clean
- get CocoaPods back on the rails HOT 24
- backfill CocoaPods versions HOT 1
- XCFrameworks are not codesigned HOT 8
- UT Coverage HOT 2
- FMDB.podspec of tag 2.7.10 declares wrong version HOT 2
- The subspec 'SQLCipher' required privacy file location declaration HOT 1
- Can you publish new release 2.7.11 HOT 6
- re-enable standalone CocoaPods subspecs HOT 2
- FMDB w/SQLCipher and an App Clip HOT 6
- How to insert multiple rows in a single SQL? HOT 1
- Apple rejects FMDB framework, even though it contains privacy file init. HOT 9
- LIKE Query with Non-ASCII Character HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmdb.