In the Java programming language, you cannot accurately determine the exact size of an object located in the heap.