Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3280)

Issue 9245043: code review 9245043: runtime: reduce max arena size on windows/amd64 to 32 GiB (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by minux1
Modified:
10 years, 11 months ago
Reviewers:
brainman
CC:
golang-dev, r, iant, ioe
Visibility:
Public.

Description

runtime: reduce max arena size on windows/amd64 to 32 GiB Update issue 5236 Update issue 5402 This CL reduces gofmt's committed memory from 545864 KiB to 139568 KiB. Note: Go 1.0.3 uses about 70MiB.

Patch Set 1 #

Patch Set 2 : diff -r 34b8901146ac https://code.google.com/p/go/ #

Patch Set 3 : diff -r 34b8901146ac https://code.google.com/p/go/ #

Total comments: 4

Patch Set 4 : diff -r a1990e26c7fb https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M src/pkg/runtime/malloc.h View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 13
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 11 months ago (2013-05-06 22:19:11 UTC) #1
minux1
for the record, the Go 1.0.3 max arena size is 16GiB. quote from doc/go1.1.html: "On ...
10 years, 11 months ago (2013-05-06 22:21:24 UTC) #2
r
Does this reduce the maximum size of the heap on Windows?
10 years, 11 months ago (2013-05-06 22:22:37 UTC) #3
minux1
see http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx for maximum supported memory of windows. 32 GiB seems reasonable.
10 years, 11 months ago (2013-05-06 22:23:05 UTC) #4
minux1
On Tue, May 7, 2013 at 6:22 AM, <r@golang.org> wrote: > Does this reduce the ...
10 years, 11 months ago (2013-05-06 22:23:39 UTC) #5
iant
LGTM Thanks. https://codereview.appspot.com/9245043/diff/5001/src/pkg/runtime/malloc.h File src/pkg/runtime/malloc.h (right): https://codereview.appspot.com/9245043/diff/5001/src/pkg/runtime/malloc.h#newcode122 src/pkg/runtime/malloc.h:122: // Windows count memory used by page ...
10 years, 11 months ago (2013-05-06 22:40:28 UTC) #6
r
LGTM
10 years, 11 months ago (2013-05-06 22:41:30 UTC) #7
ioe
small comment nit. https://codereview.appspot.com/9245043/diff/5001/src/pkg/runtime/malloc.h File src/pkg/runtime/malloc.h (right): https://codereview.appspot.com/9245043/diff/5001/src/pkg/runtime/malloc.h#newcode118 src/pkg/runtime/malloc.h:118: // On 64-bit, we limit the ...
10 years, 11 months ago (2013-05-06 22:43:20 UTC) #8
minux1
*** Submitted as https://code.google.com/p/go/source/detail?r=6f1ce1c15224 *** runtime: reduce max arena size on windows/amd64 to 32 GiB ...
10 years, 11 months ago (2013-05-06 22:53:21 UTC) #9
brainman
LGTM. Thank you. I don't use 64-bit windows myself, so I didn't notice the problem. ...
10 years, 11 months ago (2013-05-07 01:58:38 UTC) #10
minux1
On Tue, May 7, 2013 at 9:58 AM, <alex.brainman@gmail.com> wrote: > Also, I suspect, having ...
10 years, 11 months ago (2013-05-07 02:11:43 UTC) #11
r
The stopgap will do for now. In the longer term we need a better answer ...
10 years, 11 months ago (2013-05-07 02:17:19 UTC) #12
brainman
10 years, 11 months ago (2013-05-07 02:25:17 UTC) #13
Message was sent while issue was closed.
On 2013/05/07 02:17:19, r wrote:
> The stopgap will do for now. In the longer term we need a better
> answer that doesn't involve tuning an arbitrary constant.
> 

My sentiment exactly.

Alex
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b