Skip to content

Fails to install on Windows (OutOfMemoryError). #40

@rjframe

Description

@rjframe

When I run the install on Windows 10 after downloading, I get an OutOfMemoryError. Memory is not a problem. DVM has not been previously installed.

The path is modified so I can type "dmd" and use tab completion to select the compiler I want without dvm, but using dub requires specifying the version (e.g., "dub --compiler=dub.2.072.0.bat").

PS C:\Users\rjfra\bin> .\dvm-0.4.4-win.exe install dvm -v
Creating paths:
    C:/Users/rjfra/AppData/Roaming/dvm
    C:/Users/rjfra/AppData/Roaming/dvm/archives
    C:/Users/rjfra/AppData/Roaming/dvm/bin
    C:/Users/rjfra/AppData/Roaming/dvm/compilers
    C:/Users/rjfra/AppData/Roaming/dvm/env
    C:/Users/rjfra/AppData/Roaming/dvm/scripts

Copying executable:
thisExePath: C:\Users\rjfra\bin\dvm-0.4.4-win.exe
    source: C:\Users\rjfra\bin\dvm-0.4.4-win.exe
    destination: C:/Users/rjfra/AppData/Roaming/dvm/bin/_dvm.exe

    source: C:\Users\rjfra\bin\dvm-0.4.4-win.exe
    destination: C:/Users/rjfra/AppData/Roaming/dvm/bin/_dvm.exe

Writing script to: C:/Users/rjfra/AppData/Roaming/dvm/bin/dvm.bat
Setting permissions:
core.exception.OutOfMemoryError@(0)
PS C:\Users\rjfra\bin> ls ..\AppData\Roaming\dvm\bin

    Directory: C:\Users\rjfra\AppData\Roaming\dvm\bin

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        11/6/2016   7:43 AM            312 dmd-2.071.0.bat
-a----        11/6/2016   7:42 AM            312 dmd-2.072.0.bat
-a----        11/6/2016   7:42 AM            312 dvm-current-dc.bat
-a----        11/6/2016   7:49 AM            621 dvm.bat
-a----        11/6/2016   7:25 AM        1347100 _dvm.exe

PS C:\Users\rjfra\bin> dvm install 2.072.0 --force
Installing: dmd-2.072.0
PS C:\Users\rjfra\bin> dvm list
Installed D compilers:

dmd-2.072.0
PS C:\Users\rjfra\bin> dvm use 2.072.0
PS C:\Users\rjfra\bin> dmd
dmd : The term 'dmd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ dmd
+ ~~~
    + CategoryInfo          : ObjectNotFound: (dmd:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\rjfra\bin> dmd-2.072.0.bat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions