Affects Version/s: None
Fix Version/s: None
Titanium SDK version: 3.4.1.GA
Platform & version: iOS 7.0, iOS 8.0, Android 2.3.4, Android 4.4
Device Details: iPhone 4S, iPhone 5S, Nexus 5, Samsung S2
Host Operating System: OS X 10.10.1
Titanium Studio version: 188.8.131.52410281743
Sprint:2015 Sprint 25 SDK
When you want to read or write a file using FileStream.read(buffer) and FileStream.write(buffer), the memory used to store the data read/written is leaked, leading to a crash after writing/reading files for a few minutes.
This is how the file is read:
This is how the file is written:
In both cases the heap grows until the app crashes. I've attached an image which shows how the heap grows.