javascript - If I delete a document does it still need a recycle? -
In Javascript I am running through an array of UNID and get a notes document by UNID, doctor.
>
The short answer is yes .
For new ones, Java Objects and C ++ objects are referenced in Notes Objects in Java. So when you become a Java object blank (or worthless), the garbage collector will clear the memory space after a certain amount. However, C ++ handles will continue because of which we are recycling objects to destroy C ++ object references. The page has a good explanation.
On the other hand, doc.remove ()
can be considered as a state change. In addition, if your database has soft extinction enabled, then this document will also not remove it, only mark it as a marked icon (you . RemovePermanently (must call))
to make it hard-deletion). C ++ object reference will be in memory.
Therefore, the removal method will not trigger the recycle for the object. Recycle is triggered by the object itself or its origin.
Comments
Post a Comment