question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Garbage collection error: Unexpected data after root element - follow up to #13554

See original GitHub issue

Description

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

  1. new profile, launch Brave nightly
  2. load brave://ipfs
  3. click Install and start
  4. wait for the daemon/node to start
  5. now click Perform a garbage collection sweep

Actual result:

Throws “Garbage collection error: Line: 2, column: 1, Unexpected data after root element” error

garbage-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:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
spylogsstercommented, Mar 10, 2021

as discussed with @lidel the response code is enough for us and we should not alert about json parsing errors, added PR about it

1reaction
LaurenWagscommented, Mar 9, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found