Skip to content

Increase default memory limits #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true
source "https://rubygems.org"
ruby "2.7.2"
ruby "2.7.3"

gem "capybara"
gem "rspec"
Expand Down
2 changes: 1 addition & 1 deletion tests/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ DEPENDENCIES
webdrivers

RUBY VERSION
ruby 2.7.2p137
ruby 2.7.3p183

BUNDLED WITH
2.1.4
2 changes: 1 addition & 1 deletion tests/spec/features/highlighting_error_output_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

scenario "errors are highlighted" do
within('.output-stderr') do
expect(page).to have_css '.error', text: 'wrong number of type arguments'
expect(page).to have_css '.error', text: '1 type argument but 2 type arguments were supplied'
expect(page).to have_css '.error', text: 'aborting due to 2 previous errors'
expect(page).to have_css '.error', text: /Could not compile `playground`/i
end
Expand Down
4 changes: 2 additions & 2 deletions ui/src/sandbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ fn basic_secure_docker_command() -> Command {
"--security-opt=no-new-privileges",
"--workdir", "/playground",
"--net", "none",
"--memory", "256m",
"--memory-swap", "320m",
"--memory", "512m",
"--memory-swap", "640m",
"--env", format!("PLAYGROUND_TIMEOUT={}", DOCKER_PROCESS_TIMEOUT_SOFT.as_secs()),
);

Expand Down