Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
undo last commit and update testng to 7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisStaratzis committed Jan 6, 2023
1 parent 9a32587 commit d9ae11e
Show file tree
Hide file tree
Showing 3 changed files with 1,778 additions and 6 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.3.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/io/trino/plugin/tiledb/TileDBClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,4 @@ public Context buildContext(ConnectorSession session) throws TileDBError
}
return localCtx;
}

public long getFreeMemory()
{
long usedMemory = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
return Runtime.getRuntime().maxMemory() - usedMemory;
}
}
Loading

0 comments on commit d9ae11e

Please sign in to comment.