15.12.3 Destroying a PgxFrame
PgxFrames
consumes a lot of memory on the graph server (PGX) if they have a lot of rows or columns. Hence it is necessary to close them with the close()
operation. After this operation, the content of the PgxFrame
is not available anymore.
You can close a frame as shown:
Destroying a PgxFrame Using
JShell
opg4j> exampleFrame.close();
Destroying a PgxFrame Using Java
exampleFrame.close();
Destroying a PgxFrame Using Python
exampleFrame.close()
Parent topic: PgxFrames Tabular Data-Structure