Skip to content

runtime: high startup memory usage of 64-bit executable on Windows #5402

@gopherbot

Description

@gopherbot

by sjbogdan:

A 64-bit executable consumes 540 MB on "hello world" project on startup
32-bit executable (on x86-64 system) uses acceptable amount of memory ~ 9 MB

Version affected : v1.1beta2 and v1.1rc1 compiles

> go version
go version devel +bea6199b09ea Tue Apr 30 17:47:39 2013 -0700 windows/amd64

Code : any hello world program compiled with 6g
Example :
package main

import "time"

func main () {
    time.Sleep ( 1 * time.Minute )
}

---
See attachments

Additional information :
Windows 8 ( x86-64 ) Enterprize
Never used intaller, extracted from zip and set up GOROOT & GOPATH

Attachments:

  1. ResMonitor.png (18103 bytes)
  2. PM_amd64.png (19327 bytes)
  3. PM1_amd64.png (9353 bytes)
  4. PM_386.png (19339 bytes)
  5. PM1_386.png (9393 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions