diff --git a/src/Main/Main.fs b/src/Main/Main.fs index d4fad1159..c1237be04 100644 --- a/src/Main/Main.fs +++ b/src/Main/Main.fs @@ -57,7 +57,7 @@ let isMacos = Api.``process``.platform = Base.Darwin let isWin = Api.``process``.platform = Base.Win32 -//mainProcess.app.commandLine.appendSwitch("js-flags", "--expose-gc --trace-gc --trace-gc-ignore-scavenger --enable-logging --max-old-space-size=3500 --min-semi-space-size=64") +mainProcess.app.commandLine.appendSwitch("js-flags", "--expose-gc --trace-gc --trace-gc-ignore-scavenger --enable-logging --max-old-space-size=3600 --min-semi-space-size=64") mainProcess.app.name <- "Issie" diff --git a/src/Renderer/UI/ModelHelpers.fs b/src/Renderer/UI/ModelHelpers.fs index f1cd90405..9b1b903ac 100644 --- a/src/Renderer/UI/ModelHelpers.fs +++ b/src/Renderer/UI/ModelHelpers.fs @@ -21,7 +21,7 @@ module Constants = FontWeight = 500 // weight of text on waveforms } let maxWarnSimulationSize = 100000 - let maxSimulationSize = 10000000 + let maxSimulationSize = 4000000 let minScrollingWindow = 200 let wsButtonHeight = 30 let wsButtonWidth = 120 diff --git a/src/Renderer/UI/UIPopups.fs b/src/Renderer/UI/UIPopups.fs index 75da9ca71..f1088a8bb 100644 --- a/src/Renderer/UI/UIPopups.fs +++ b/src/Renderer/UI/UIPopups.fs @@ -530,7 +530,9 @@ let dialogWaveSimConfigPopup (dispatch: Msg -> unit) (model:Model) = ["fontweight"], not <| inBounds 100 900 c.FontWeight, $"Font weight must be between 100 and 900" [], warnSizeLarge c, $"Warning: very large simulation lengths and big designs result in high memory use and low performance. \ Simulation data memory use for the current design is estimated as\n: \ - {arraySizeMessage c}, in addition up to 5GB will be required for heap and code." + {arraySizeMessage c}, in addition up to 5GB will be required for heap and code. \ + Windows systems using more than 6GB simulation array memory are likely to crash. This limit does not \ + depend on PC physical memory." ] |> List.filter (fun (_, isError, _) -> isError) |> List.map (fun (key, _, message) -> key, message)