Debug.setmemorycategory() doesn't work, still applies in a subset of scripts

Under the LuauHeap → Memory Categories section, it states that using debug.setmemorycategory will change the category in which the scripts are categorized under. However, under the section, it still applies to the subset of scripts, the default behavior.

image
image

Thank you for the report, we will update the text in the label to correctly describe the behavior.

Until then, you can find out how setmemorycategory works in the announcement Developer Console: Update for Luau Memory Use Tracking