Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory exception at getFingreprintSimilarity #2

Open
GoogleCodeExporter opened this issue Jun 14, 2015 · 0 comments
Open

Out of memory exception at getFingreprintSimilarity #2

GoogleCodeExporter opened this issue Jun 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Making two Wave() object
2. Comparing the above two object using wave1.getFingreprintSimilarity(wave2)
3. It crashes giving an out of memory exception

What is the expected output? What do you see instead?
It works on very small audio files only

What version of the product are you using? 
on HTC Desire HD and Samsung galaxy S3
On what operating system?
Android OS 2.3 and 4.2

Please provide any additional information below.
Below is the stack trace:

05-08 17:28:46.791: E/AndroidRuntime(18113): java.lang.OutOfMemoryError: (Heap 
Size=32775KB, Allocated=29163KB, Bitmap Size=0KB)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
java.lang.reflect.Array.createMultiArray(Native Method)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
java.lang.reflect.Array.newInstance(Array.java:420)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
com.musicg.wave.extension.Spectrogram.buildSpectrogram(Spectrogram.java:138)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
com.musicg.wave.extension.Spectrogram.<init>(Spectrogram.java:76)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
com.musicg.wave.Wave.getSpectrogram(Wave.java:237)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
com.musicg.fingerprint.FingerprintManager.extractFingerprint(FingerprintManager.
java:83)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
com.musicg.wave.Wave.getFingerprint(Wave.java:329)
05-08 17:28:46.791: E/AndroidRuntime(18113):    at 
com.musicg.wave.Wave.getFingerprintSimilarity(Wave.java:335)


Original issue reported on code.google.com by [email protected] on 8 May 2013 at 1:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant