I am trying to read a very large file (more than 1G) in a dart program, but this excludes an exception from memory.
How to configure the command line to make it work with more memory? As well as:
-Xmx1G
in java.
At the VM has a flag to increase the heap size: --old_gen_heap_size. For example, --old_gen_heap_size=1204set it to 1 GB.
--old_gen_heap_size
--old_gen_heap_size=1204
This flag is one of the flags of developers and is not considered stable. This may change or disappear.
Source: https://habr.com/ru/post/1524991/More articles:Ruby Rails - gcc issue on mac - gccHeroku -/usr/bin/env: ruby1.9.1: Нет такого файла или каталога - rubyMinimax Algorithm Explanation - algorithmComposite course prerequisites (one or more of a, b, c and x or y, as well as z-style) - sqlHow to use inkscape command line interface? - command-lineМоделирование курсов и предварительных условий в базе данных - sqlHow to create web APIs using MVC 3.0 - asp.net-mvcHow to get the maximum degree of parallelism for using a parallel task library? - multithreadingКак просто отправить параметр запроса с помощью формы jquery? - javascriptWhat is a ServiceRegistry in creating a SessionFactory - javaAll Articles