jpillora/chisel High RAM usage on ARM by ChiselHow to measure actual memory usage of an application or process?How to get current CPU and RAM usage in Python?MySQL maximum memory usageHow do I discover memory usage of my application in Android?Python large variable RAM usageHow to see top processes sorted by actual memory usage?firefox high memory (RAM) usage, how to free with javascript?Sorting 1 million 8-digit numbers in 1 MB of RAMC++ -Sorting a Big List (RAM USAGE HIGH!)High RAM Consumption with MariaDB

Does a dangling wire really electrocute me if I'm standing in water?

Lied on resume at previous job

Can a planet have a different gravitational pull depending on its location in orbit around its sun?

Crop image to path created in TikZ?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

What is the offset in a seaplane's hull?

Why is the design of haulage companies so “special”?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Extreme, but not acceptable situation and I can't start the work tomorrow morning

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

What are the advantages and disadvantages of running one shots compared to campaigns?

Domain expired, GoDaddy holds it and is asking more money

What is it called when one voice type sings a 'solo'?

LWC and complex parameters

Pristine Bit Checking

Where else does the Shulchan Aruch quote an authority by name?

"My colleague's body is amazing"

How would photo IDs work for shapeshifters?

Can I find out the caloric content of bread by dehydrating it?

Symmetry in quantum mechanics

Could Giant Ground Sloths have been a good pack animal for the ancient Mayans?

What do the Banks children have against barley water?

How could a lack of term limits lead to a "dictatorship?"

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine



jpillora/chisel High RAM usage on ARM by Chisel


How to measure actual memory usage of an application or process?How to get current CPU and RAM usage in Python?MySQL maximum memory usageHow do I discover memory usage of my application in Android?Python large variable RAM usageHow to see top processes sorted by actual memory usage?firefox high memory (RAM) usage, how to free with javascript?Sorting 1 million 8-digit numbers in 1 MB of RAMC++ -Sorting a Big List (RAM USAGE HIGH!)High RAM Consumption with MariaDB






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I am using jpillora's Chisel for WebSockets. I needed to use Chisel on ARM. I cross compiled it and reduced the binary size using the following two commands:



env GOOS=linux GOARCH=arm go build -ldflags "-w -s"
~/go/src/github.com/pwaller/goupx/goupx --brute chisel


However, when I run the chisel binary on the ARM board (512MB RAM), I find that it is taking a huge amount of RAM.



The "top" yields an output of usage of 161% and 775m! However, the difference of output of "free" command taken before and after the execution of chisel client is ~6MB.



I ran strace too, and the sum of all mmap2 memory allocated is 700MB+.
The command I executed to connect to the server:



./chisel client --fingerprint <> 10.137.12.88:2002 127.0.0.1:9191:10.137.12.88:9191


Is there some way to optimize / reduce the RAM usage on Chisel?



Any pointers would be helpful!



Thanks,










share|improve this question






























    1















    I am using jpillora's Chisel for WebSockets. I needed to use Chisel on ARM. I cross compiled it and reduced the binary size using the following two commands:



    env GOOS=linux GOARCH=arm go build -ldflags "-w -s"
    ~/go/src/github.com/pwaller/goupx/goupx --brute chisel


    However, when I run the chisel binary on the ARM board (512MB RAM), I find that it is taking a huge amount of RAM.



    The "top" yields an output of usage of 161% and 775m! However, the difference of output of "free" command taken before and after the execution of chisel client is ~6MB.



    I ran strace too, and the sum of all mmap2 memory allocated is 700MB+.
    The command I executed to connect to the server:



    ./chisel client --fingerprint <> 10.137.12.88:2002 127.0.0.1:9191:10.137.12.88:9191


    Is there some way to optimize / reduce the RAM usage on Chisel?



    Any pointers would be helpful!



    Thanks,










    share|improve this question


























      1












      1








      1








      I am using jpillora's Chisel for WebSockets. I needed to use Chisel on ARM. I cross compiled it and reduced the binary size using the following two commands:



      env GOOS=linux GOARCH=arm go build -ldflags "-w -s"
      ~/go/src/github.com/pwaller/goupx/goupx --brute chisel


      However, when I run the chisel binary on the ARM board (512MB RAM), I find that it is taking a huge amount of RAM.



      The "top" yields an output of usage of 161% and 775m! However, the difference of output of "free" command taken before and after the execution of chisel client is ~6MB.



      I ran strace too, and the sum of all mmap2 memory allocated is 700MB+.
      The command I executed to connect to the server:



      ./chisel client --fingerprint <> 10.137.12.88:2002 127.0.0.1:9191:10.137.12.88:9191


      Is there some way to optimize / reduce the RAM usage on Chisel?



      Any pointers would be helpful!



      Thanks,










      share|improve this question
















      I am using jpillora's Chisel for WebSockets. I needed to use Chisel on ARM. I cross compiled it and reduced the binary size using the following two commands:



      env GOOS=linux GOARCH=arm go build -ldflags "-w -s"
      ~/go/src/github.com/pwaller/goupx/goupx --brute chisel


      However, when I run the chisel binary on the ARM board (512MB RAM), I find that it is taking a huge amount of RAM.



      The "top" yields an output of usage of 161% and 775m! However, the difference of output of "free" command taken before and after the execution of chisel client is ~6MB.



      I ran strace too, and the sum of all mmap2 memory allocated is 700MB+.
      The command I executed to connect to the server:



      ./chisel client --fingerprint <> 10.137.12.88:2002 127.0.0.1:9191:10.137.12.88:9191


      Is there some way to optimize / reduce the RAM usage on Chisel?



      Any pointers would be helpful!



      Thanks,







      memory websocket ram






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 22 at 1:43









      Chick Markley

      1,657911




      1,657911










      asked Mar 21 at 3:50









      Chatur GChatur G

      61




      61






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55273503%2fjpillora-chisel-high-ram-usage-on-arm-by-chisel%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55273503%2fjpillora-chisel-high-ram-usage-on-arm-by-chisel%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현