Garbage collection error: Unexpected data after root element - follow up to #13554
See original GitHub issueDescription
Found while testing https://github.com/brave/brave-browser/issues/13554.
Performing a garbage-collection sweep via the button on brave://ipfs
throws "Garbage collection error: Line: 2, column: 1, Unexpected data after root element."
Steps to Reproduce
- new profile, launch Brave nightly
- load
brave://ipfs
- click
Install and start
- wait for the daemon/node to start
- now click
Perform a garbage collection sweep
Actual result:
Throws “Garbage collection error: Line: 2, column: 1, Unexpected data after root element” error
Expected result:
Reproduces how often:
Brave version (brave://version info)
Brave | 1.23.2 Chromium: 89.0.4389.58 (Official Build) nightly (x86_64) |
---|---|
Revision | 1a139f28ecc27719439e37c6b1533cee999cb802-refs/branch-heads/4389@{#1134} |
Version/Channel Information:
- Can you reproduce this issue with the current release? no
- Can you reproduce this issue with the beta channel? no
- Can you reproduce this issue with the nightly channel? yes
cc: @bbondy @spylogsster
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Error java.lang.OutOfMemoryError: GC overhead limit exceeded
[...] "GC overhead limit exceeded" indicates that the garbage collector is running all the time and Java program is making very slow progress....
Read more >brave-browser Garbage collection error: Unexpected data after root ...
brave-browser Garbage collection error: Unexpected data after root element - follow up to #13554 - JavaScript. Description.
Read more >java.lang.OutOfMemoryError: GC Overhead Limit Exceeded
Simply put, the JVM takes care of freeing up memory when objects are no longer being used. This process is called Garbage Collection...
Read more >[chrome] Log of /trunk/src
This breaks RTL of the toolbar buttons, I'll add that back in a follow up ... run UI from showing in the browser...
Read more >VI Jornadas sobre Programación y Lenguajes PROLE'06 - Sistedes
topology (underlined in the tree) is the only element in the SOCLP-set for main1, following the requirements of the fourth and fifth conditions...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
as discussed with @lidel the response code is enough for us and we should not alert about json parsing errors, added PR about it
@brave/legacy_qa when retesting this the steps from https://github.com/brave/brave-browser/issues/13554#issuecomment-790725164 can also be used. However, per @spylogsster in https://github.com/brave/brave-browser/issues/13554#issuecomment-794071778 we should visit additional sites to increase storage usage prior to running garbage collection.