mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
1.1 KiB
1.1 KiB
Home > bitburner > Darknet > memoryReallocation
Darknet.memoryReallocation() method
Spends some time freeing some of the RAM currently blocked by the server owner. Must target an authenticated and directly connected server.
The amount of ram recovered scales with charisma and the number of threads used.
Signature:
memoryReallocation(host?: string): Promise<DarknetResult>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
host |
string |
(Optional) Optional. Hostname/IP of the authenticated and directly connected server to free ram from. Defaults to the running script's server. |
Returns:
Promise<DarknetResult>
A promise that resolves to a DarknetResult object.
Remarks
RAM cost: 1 GB