This will reduce memory pressure a little. Bug 747721 is an error at org.json.simple.parser.Yylex.<init>(Yylex.java:231); that line is allocating a 16kb buffer for input text. We allocate one of those for each JSONParser instance we create. Let's make this bug be a simple attempt to create less JSONParser instances.
Reworking this to be a first step towards improving our parsing code. This will just be cleaning and groundwork for the next improvements.
Summary: Make ExtendedJSONObject class use a single static JSONParser instance. → Refactor and clean ExtendedJSONObject parsing code.
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla20
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Mozilla Services → Android Background Services
You need to log in before you can comment on or make changes to this bug.