Required tools for playing around with memory:
hexdumpobjdumpreadelfxxdgcore
| # Using libtool, lipo, ar and otool | |
| lipo -info input.a | |
| lipo -extract_family arm64 -output output.a input.a | |
| # output.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) | |
| # lipo output.a -thin arm64 -output output_arm64.a | |
| ar -x output_arm64.a |
| var client = {}; | |
| client.run = function (options) { | |
| options = options || {}; | |
| var socket = io.connect(options.remote || "http://localhost:8080"); | |
| socket.on('connect', function() { | |
| var term = new Terminal({ |
| --log_gc (Log heap samples on garbage collection for the hp2ps tool.) | |
| type: bool default: false | |
| --expose_gc (expose gc extension) | |
| type: bool default: false | |
| --max_new_space_size (max size of the new generation (in kBytes)) | |
| type: int default: 0 | |
| --max_old_space_size (max size of the old generation (in Mbytes)) | |
| type: int default: 0 | |
| --max_executable_size (max size of executable memory (in Mbytes)) | |
| type: int default: 0 |