For anyone interested I found that: 
    
    
    import asyncdispatch, asyncnet, os
    
    var server = newAsyncSocket() #or newAsyncNativeSocket()
    let x = readFile("/proc/self/status")
    echo x
    

Uses 44MB with 0.18.x

Uses 4MB with 0.17.2

Reply via email to