Skip to content

Commit

Permalink
Merge pull request #105 from bernarda78/master
Browse files Browse the repository at this point in the history
Malt-webview can now process json greater than 512 MB
  • Loading branch information
svalat authored Aug 9, 2024
2 parents 489624c + 376a20a commit 6d7006a
Show file tree
Hide file tree
Showing 332 changed files with 22,304 additions and 831 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,11 @@ malt -o "output:stackTree=true" ./PROGRAM
Currently you can still find cases where you cannot load the file into nodejs, I'm working on a workaround.
Please provide me your files if it appends. By compressing it in gzip you will get less than 30-40 MB.
As of 25/07/2024, the JSON are read and processed using streams, and thus, we by-pass the internal hard limit of NodeJs requiring string to be < 512 MB.
However, keep in mind that such big files makes the web interface a bit less responsive. This was tested with files up to 1 GB.
Due to another limitations, you may encounter the following error `FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory`. You want to modify the heap size limit of nodeJs, with the following options `NODE_OPTIONS="--max-old-space-size=<SIZE>"` with `SIZE` in megabytes.
Packaging
---------
Expand Down
2 changes: 1 addition & 1 deletion src/manpages/malt.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Then take care of using the `--mpi` option on the profiling tool :

## GET THE GUI

With MALT you can use direcly `kcachegrind` if you enable the valgrind compatible format in configuration
With MALT you can use directly `kcachegrind` if you enable the valgrind compatible format in configuration
(output:callgrind). But by default MALT will generate a JSON file to be used with malt-webview(1).

## CONFIGURATION FILE
Expand Down
1 change: 1 addition & 0 deletions src/webview/node_modules/.bin/JSONStream

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6d7006a

Please sign in to comment.