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

Another OutOfMemmory #100

Closed
cgeo opened this issue Aug 5, 2011 · 4 comments
Closed

Another OutOfMemmory #100

cgeo opened this issue Aug 5, 2011 · 4 comments
Assignees
Labels
Bug Issues classified as a bug

Comments

@cgeo
Copy link
Collaborator

cgeo commented Aug 5, 2011

Looking in market and see this too many times.

java.lang.OutOfMemoryError
at java.lang.String.(String.java:468)
at cgeo.geocaching.cgBase.replaceWhitespace(cgBase.java:4566)
at cgeo.geocaching.cgBase.request(cgBase.java:4527)
at cgeo.geocaching.cgBase.request(cgBase.java:4279)
at cgeo.geocaching.cgBase.requestLogged(cgBase.java:4259)
at cgeo.geocaching.cgBase.searchByGeocode(cgBase.java:3056)
at cgeo.geocaching.cgeodetail$loadCache.run(cgeodetail.java:1227)

@rhubert
Copy link
Contributor

rhubert commented Aug 8, 2011

would be nice to get more information about this. :-(

@ghost ghost assigned Bananeweizen Aug 8, 2011
@Bananeweizen
Copy link
Member

I've reworked that method some time ago, because it was responsible for most of the time needed when parsing a cache. I think I can rework it again to have a good balance between performance and memory usage.

@mucek4
Copy link
Member

mucek4 commented Aug 8, 2011

3 user comments
7 Aug 2011 20:34:24
2.26 RC3
Absturz beim download von Google Maps-Karten
11 Jul 2011 16:40:33
2.26 RC1a
crash when saving caches
11 Jul 2011 13:45:44
2.26 RC1a
again during the refreshing of stored caches...

Another OOM error in string (but only 1)

java.lang.OutOfMemoryError
at java.lang.String.(String.java:468)
at java.lang.AbstractStringBuilder.toString(AbstractStringBuilder.java:659)
at java.lang.StringBuilder.toString(StringBuilder.java:664)
at org.json.JSONTokener.nextString(JSONTokener.java:209)
at org.json.JSONTokener.nextValue(JSONTokener.java:103)
at org.json.JSONTokener.readObject(JSONTokener.java:381)
at org.json.JSONTokener.nextValue(JSONTokener.java:96)
at org.json.JSONObject.(JSONObject.java:154)
at org.json.JSONObject.(JSONObject.java:171)
at cgeo.geocaching.cgBase.parseMapJSON(cgBase.java:998)
at cgeo.geocaching.cgBase.searchByViewport(cgBase.java:3521)
at cgeo.geocaching.mapcommon.cgeomap$DownloadThread.run(cgeomap.java:1131)

@mucek4
Copy link
Member

mucek4 commented Aug 8, 2011

@Bananeweizen.

Can you please see issue #4 also. That one pop's out alot of times when zooming google maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues classified as a bug
Projects
None yet
Development

No branches or pull requests

3 participants