Comments (8)
Thanks for the heads up @gmpassos. I'm able to reproduce and it looks like there was some oversights in the implementation that wasn't caught by testing. I have a fix up for review here.
from sdk.
Cherrypick request has been filed here: #55818.
from sdk.
I believe this can be closed ?
from sdk.
I believe this can be closed ?
It's already closed :-)
from sdk.
FYI: @bkonyi
from sdk.
... I have a fix up for review here.
Please add documentation for DART_VM_OPTIONS
, especially for self-executables. This is not documented anywhere.
from sdk.
Please add documentation for
DART_VM_OPTIONS
, especially for self-executables. This is not documented anywhere.
There's not any obvious spot to put this on the website since it's relatively niche functionality, but I've added documentation in the SDK that should make this a bit easier to discover: https://dart-review.googlesource.com/c/sdk/+/367800
from sdk.
... it's relatively niche functionality.
The default max heap size is 30GB:
Line 62 in f4cc1eb
IMHO, every self-executable in production should define its memory limit, since running any application with a heap limit higher than the available memory is a recipe for disaster. Since the only way to define the max heap size in a self-executable is by using DART_VM_OPTIONS
, this shouldn't be treated as a hidden property.
from sdk.
Related Issues (20)
- `String.fromCharCode[s]` should be deprecated and renamed to `String.fromRune[s]` HOT 4
- "Error: The macro can only be applied to enums or enum values." - What interface to use instead? HOT 6
- Failures on [ CLI ] Fix issue where 'dart build' would fail to find the 'dart' when run from PATH
- Analyzer response to LSP requests extremely slow w/ high latency reported HOT 19
- [breaking change] On Windows refer to special `null` file as '\\?\nul' rather than 'nul'. HOT 16
- LSP Server fails to initialize if an inlayHints request is sent before the client responds to workspace/configuration HOT 24
- DateTime implementation on linux, dates before year 2020 return incorrect timezone HOT 8
- Inconsistent behavior of beginToken for some analyzer AST nodes with doc comments HOT 1
- [dart2js] Incorrect inference for override with default of widened type
- [ddc] Incorrect defaulting of named arguments with certain names
- DDC async function stepping improvements HOT 1
- When performing floating-point calculations, precision may be lost在进行浮点数计算时精度会丢失 HOT 7
- [typed_data] Add `Float16List` + [vm/ffi] Add `Float16` HOT 15
- Code completion contains many duplicated items for extensions HOT 5
- dart2wasm miscompilation around dynamic switch targets HOT 2
- Unexpected TypeError from js_interop only in DDC HOT 1
- Maybe ZoneSpecification's fork behavior is broken? HOT 3
- Attempt to start the daemon using the IPv6 loopback if the machine does not have 127.0.0.1 loopback IP address
- [ddc] Can we migrate all calls of `getReifiedType()` to a member of the dart:rti library?
- Analyzer Feedback from IntelliJAnalysis server has terminated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk.