optimize_hive/2 is an Erlang function exported by "age_registry" module. This function is performing some optimization commands in order to reduce the size of an existing Hive. The result of this optimization is stored as a completely different file specified by parameter FileName. Take into considerations the following notes: •The output file shall be completely recreated, so you have to take care where to store the result; •This function temporarily creates a new hive under the name 'new_hive'. Prior using this function, you have to secure that no other hive is registered under this name. |
|
|