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.

Large inline Markdown visualization causes OOM

See original GitHub issue

Environment

  • KFP version: 1.0.1

Steps to reproduce

Output a markdown artifact containing a large amount of Markdown inline:

        metadata = {
          "outputs": [
          {
            "storage": "inline",
            "source": "<large markdown string: ~20MB>",
            "type": "markdown",
          }]
        }

Expected result

The Visualizations tab and Run output should render the Markdown.

Instead, the original markup code is visible: instead, after some time loading, the Chrome tab will crash with SBOX_FATAL_MEMORY_EXCEEDED.

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jackwhelptoncommented, Apr 27, 2021

I suspected that would be the case: I’ve worked around it by including only a limited amount of the data in the markdown that is displayed, pushing the full report out to GCS and including a link in the abridged version.

To give more background, what I’m displaying is a list of warnings/errors detected with a data set, kind of a “lint” for training and eval data. I was going to try committing the markdown and seeing if GitHub can display it, just as a test for what the browser itself can handle.

It might suffice to have something in the documentation that explains roughly where these limits lie: I’m not sure it’s vital to fix this. The combination of “here are the first 50 errors” and “here’s where to get a complete log file” is probably the way to go here.

0reactions
Bobgycommented, Apr 30, 2021

/assign @zijianjoy

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic Syntax - Markdown Guide
There are minor variations and discrepancies between Markdown processors — those are noted inline wherever possible. Headings. To create a heading, add number ......
Read more >
Your Manual to Markdown, the Web's Simplest Plain-Text Syntax
Markdown fixes that, with simple formatting that looks the same ... There's no italics, no color options, no larger typeface for headers.
Read more >
Lab 1 Starting with R Markdown - PsyTeachR
You've got a large dataset of thousands of participants' personality and happiness scores that you want to analyse and present in RMarkdown. You...
Read more >
30 Quarto - R for Data Science (2e) - Hadley Wickham
If you're an R Markdown user, you might be thinking “Quarto sounds a lot like R ... RStudio executes the code and displays...
Read more >
Advantages of Using R Notebooks For Data Analysis Instead ...
In addition to code blocks, Jupyter Notebooks support Markdown cells, ... which develops and maintains a large number of open source R ...
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