changed return type of free/used functions (64-bit)
added some ideas how to get the table space location on runtime