Large inline Markdown visualization causes OOM
See original GitHub issueEnvironment
- 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:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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.
/assign @zijianjoy