FAQ

On 2013/08/07 19:47:04, cshapiro1 wrote:
*** Submitted as
https://code.google.com/p/go/source/detail?r=d91993212194 ***
cmd/cc, cmd/gc, runtime: emit bitmaps for scanning locals.
Previously, all word aligned locations in the local variables
area were scanned as conservative roots. With this change, a
bitmap is generated describing the locations of pointer values
in local variables.
With this change the argument bitmap information has been
changed to only store information about arguments. The locals
member, has been removed. In its place, the bitmap data for
local variables is now used to store the size of locals. If
the size is negative, the magnitude indicates the size of the
local variables area.
R=rsc
CC=golang-dev
https://codereview.appspot.com/12328044
I think CL is triggering a large memory allocation in the compiler. Some
of the arm builders, running without swap, are failing.

https://codereview.appspot.com/12328044/

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Carl Shapiro at Aug 8, 2013 at 1:03 am

    On Wed, Aug 7, 2013 at 5:50 PM, wrote:

    I think CL is triggering a large memory allocation in the compiler. Some
    of the arm builders, running without swap, are failing.
    Thanks for the report, I will look into this. How much memory do these
    machines typically have free?

    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Dave Cheney at Aug 8, 2013 at 1:05 am
    My panda has ~800 mb free, the rpi on to its right < 400

    [2196103.666107] Out of memory: Kill process 31904 (5g) score 843 or
    sacrifice child
    [2196103.674072] Killed process 31904 (5g) total-vm:846788kB,
    anon-rss:843692kB, file-rss:8kB
    On Thu, Aug 8, 2013 at 11:03 AM, Carl Shapiro wrote:
    On Wed, Aug 7, 2013 at 5:50 PM, wrote:

    I think CL is triggering a large memory allocation in the compiler. Some
    of the arm builders, running without swap, are failing.

    Thanks for the report, I will look into this. How much memory do these
    machines typically have free?
    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Carl Shapiro at Aug 8, 2013 at 1:13 am

    On Wed, Aug 7, 2013 at 6:05 PM, Dave Cheney wrote:

    My panda has ~800 mb free, the rpi on to its right < 400

    [2196103.666107] Out of memory: Kill process 31904 (5g) score 843 or
    sacrifice child
    [2196103.674072] Killed process 31904 (5g) total-vm:846788kB,
    anon-rss:843692kB, file-rss:8kB
    Interesting. The ARM machine I use for testing has about 1.3gb free which
    might explain why I have not observe an OOM. I will take a close look at
    this later tonight. Hopefully, something will jump out.

    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Dave Cheney at Aug 8, 2013 at 1:26 am
    I think the other panda builder has some swap. Combined with the linux
    overcommit behavior, means you can allocate gigabytes.
    On Thu, Aug 8, 2013 at 11:12 AM, Carl Shapiro wrote:
    On Wed, Aug 7, 2013 at 6:05 PM, Dave Cheney wrote:

    My panda has ~800 mb free, the rpi on to its right < 400

    [2196103.666107] Out of memory: Kill process 31904 (5g) score 843 or
    sacrifice child
    [2196103.674072] Killed process 31904 (5g) total-vm:846788kB,
    anon-rss:843692kB, file-rss:8kB

    Interesting. The ARM machine I use for testing has about 1.3gb free which
    might explain why I have not observe an OOM. I will take a close look at
    this later tonight. Hopefully, something will jump out.
    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Dave Cheney at Aug 8, 2013 at 2:03 am
    Looks pretty bad, this isn't an arm only thing.

    https://code.google.com/p/go/issues/detail?id=6077
    On Thu, Aug 8, 2013 at 11:26 AM, Dave Cheney wrote:
    I think the other panda builder has some swap. Combined with the linux
    overcommit behavior, means you can allocate gigabytes.
    On Thu, Aug 8, 2013 at 11:12 AM, Carl Shapiro wrote:
    On Wed, Aug 7, 2013 at 6:05 PM, Dave Cheney wrote:

    My panda has ~800 mb free, the rpi on to its right < 400

    [2196103.666107] Out of memory: Kill process 31904 (5g) score 843 or
    sacrifice child
    [2196103.674072] Killed process 31904 (5g) total-vm:846788kB,
    anon-rss:843692kB, file-rss:8kB

    Interesting. The ARM machine I use for testing has about 1.3gb free which
    might explain why I have not observe an OOM. I will take a close look at
    this later tonight. Hopefully, something will jump out.
    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedAug 8, '13 at 12:50a
activeAug 8, '13 at 2:03a
posts6
users2
websitegolang.org

2 users in discussion

Dave Cheney: 4 posts Carl Shapiro: 2 posts

People

Translate

site design / logo © 2022 Grokbase