


{"id":383329,"date":"2024-09-20T13:45:14","date_gmt":"2024-09-20T13:45:14","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/"},"modified":"2024-09-20T13:45:14","modified_gmt":"2024-09-20T13:45:14","slug":"variables-not-freed-from-memory-after-using-the-clear-script-command","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/","title":{"rendered":"Variables not freed from memory after using the clear(); script command"},"content":{"rendered":"<p>&lt;p&gt;Hi Ansys,&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid0.png\" alt=\"image\" \/>&lt;\/p&gt;&lt;p&gt;here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I&#8217;m not sure how to fix it. I&#8217;ve managed to debug it down to an exact location in the package: lumopt-&gt;geometries-&gt;geometry.py line 192&nbsp;&lt;\/p&gt;&lt;div&gt;&lt;div&gt;Geometry.get_eps_from_index_monitor(sim.fdtd, &#8216;current_eps_data&#8217;)&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;which calls the method on line 85 get_eps_from_index_monitor which does the following through the lumapi eval method:&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;opt_fields_index_data_set = getresult(&#8216;opt_fields_index&#8217;,&#8217;index&#8217;);&lt;\/div&gt;&lt;div&gt;current_eps_data = matrix(length(opt_fields_index_data_set.x), length(opt_fields_index_data_set.y), length(opt_fields_index_data_set.z), length(opt_fields_index_data_set.f), 3);&lt;br&gt;current_eps_data(:, :, :, :, 1) = opt_fields_index_data_set.index_x^2;&lt;br&gt;current_eps_data(:, :, :, :, 2) = opt_fields_index_data_set.index_y^2;&lt;br&gt;current_eps_data(:, :, :, :, 3) = opt_fields_index_data_set.index_z^2;&lt;br&gt;clear(opt_fields_index_data_set);&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;If I pause my script just before this part, and directly in the Lumerical console I enter:&lt;\/div&gt;&lt;\/div&gt;&lt;p&gt;opt_fields_index_data_set = getresult(&#8216;opt_fields_index&#8217;,&#8217;index&#8217;);&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;My memory is now:&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid1.png\" alt=\"image\" \/>&lt;\/p&gt;&lt;p&gt;It increases (my roughly 25MB), which makes sence as we have a new variable storing data, however, if the very next thing I run is:&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;clear(opt_fields_index_data_set);&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;my memory doesnt change:&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid2.png\" alt=\"image\" \/>&lt;\/p&gt;&lt;p&gt;whats weird is, if i run the first command again, (remaking the variable), my memory goes up more:&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid3.png\" alt=\"image\" \/>&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;and by roughly the same amount, which implies that the original variable was not actually freed from memory and the computer has just allocated a different address space for the &#8220;new&#8221; variable. F&lt;span data-teams=&#8221;true&#8221;&gt;&lt;span class=&#8221;ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak&#8221; dir=&#8221;ltr&#8221;&gt;urther, if I repeatedly run the command &#8220;opt_fields_index_data_set = getresult(&#8216;opt_fields_index&#8217;,&#8217;index&#8217;);&#8221; the memory ticks up by roughly the same amount each time. This happens throughout the whole iteration in LumOpt (once for each parameter), it then runs the forward and adjoint simulations, and in the next iteration it contunes increasing in memory consumption, but from the higher level, which leads to an eventual memory overload and causes the computer to crash&#8230;&lt;\/span&gt;&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;For confirmation, after I run the clear command and try to call the variable again, Lumerical recognises that it has been deleted:&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;&lt;span class=&#8221;fui-Flex ___l13zv30 ftuwxu6 f1qdqbpl fua484e f1o6l1dn fac4klo frp1kbq f12s2122 f19l72ij fcsrh55 frnyhdv fyo61pj f1spqul0 faegybh fkq5uzf f1x4fozf fwl63ro f1npyoe5 f10yrmu1 f1w45tcp f1dqeblh f18c6rdl f1e7lo8u f1dpi1ry f1vs2jsm f1o6uux1 f1nu0r7q fg0t3io ff98at f2yyzyc f1sjbqdg fyzb71r fh1aahx f1oktu5 f1d3652t fed2bxt ff3017q f1e76dpb f1lwmlrd fgtcxse f1d705n1 f1jrvuk2 f11h0gum f1tandro fxjdbx7 f1hva1tl fsaoqmu f1w7c29l f1uakdsb f7jsfu7 f1hz9qas f1vmprsu f1wogq95 f1oojlmx fpbf6y8 fy6vjqu fuo4419 fbzygsp fnuenae fw75flx f12oply1 fvyt4us f4ki1i fyy2ueq f1w3oopj fum67ou f1j64hbx f1807z01 f1q6iyvy f1wk7p4c f920ium fhj6euq f30elfj f1kcike0 f1byno2r f5wk2nc&#8221;&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726839277-blobid4.png\" alt=\"image\" \/>&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;&lt;span data-teams=&#8221;true&#8221;&gt;&lt;span class=&#8221;ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak&#8221; dir=&#8221;ltr&#8221;&gt;&nbsp;This effect happens regardless of if I save all the simulations or not during the iteration process.&lt;\/span&gt;&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;Any ideas on how to actually clear the variable from memory?&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;p.s. I am using version 2024 R1 on Windows 11 64 bit&lt;\/p&gt;&lt;p&gt;&lt;span data-teams=&#8221;true&#8221;&gt;&lt;span class=&#8221;ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak&#8221; dir=&#8221;ltr&#8221;&gt;&nbsp;&lt;\/span&gt;&lt;\/span&gt;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-383329","topic","type-topic","status-publish","hentry","topic-tag-computer-memory","topic-tag-lumerical","topic-tag-lumopt-1"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I&#039;m not sure how to fix it. I&#039;ve managed to debug it down to an exact location in the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Variables not freed from memory after using the clear(); script command | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I&#039;m not sure how to fix it. I&#039;ve managed to debug it down to an exact location in the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid0.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid0.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-09-20T13:45:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-09-20T13:45:14+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Variables not freed from memory after using the clear(); script command | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I&#039;m not sure how to fix it. I&#039;ve managed to debug it down to an exact location in the\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid0.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/variables-not-freed-from-memory-after-using-the-clear-script-command\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/computer-memory\\\/#listItem\",\"name\":\"computer-memory\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/computer-memory\\\/#listItem\",\"position\":3,\"name\":\"computer-memory\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/computer-memory\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/variables-not-freed-from-memory-after-using-the-clear-script-command\\\/#listItem\",\"name\":\"Variables not freed from memory after using the clear(); script command\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/variables-not-freed-from-memory-after-using-the-clear-script-command\\\/#listItem\",\"position\":4,\"name\":\"Variables not freed from memory after using the clear(); script command\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/computer-memory\\\/#listItem\",\"name\":\"computer-memory\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/variables-not-freed-from-memory-after-using-the-clear-script-command\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/variables-not-freed-from-memory-after-using-the-clear-script-command\\\/\",\"name\":\"Variables not freed from memory after using the clear(); script command | Ansys Learning Forum\",\"description\":\"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I'm not sure how to fix it. I've managed to debug it down to an exact location in the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/variables-not-freed-from-memory-after-using-the-clear-script-command\\\/#breadcrumblist\"},\"datePublished\":\"2024-09-20T13:45:14+00:00\",\"dateModified\":\"2024-09-20T13:45:14+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Variables not freed from memory after using the clear(); script command | Ansys Learning Forum","description":"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I'm not sure how to fix it. I've managed to debug it down to an exact location in the","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/computer-memory\/#listItem","name":"computer-memory"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/computer-memory\/#listItem","position":3,"name":"computer-memory","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/computer-memory\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/#listItem","name":"Variables not freed from memory after using the clear(); script command"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/#listItem","position":4,"name":"Variables not freed from memory after using the clear(); script command","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/computer-memory\/#listItem","name":"computer-memory"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/","name":"Variables not freed from memory after using the clear(); script command | Ansys Learning Forum","description":"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I'm not sure how to fix it. I've managed to debug it down to an exact location in the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/#breadcrumblist"},"datePublished":"2024-09-20T13:45:14+00:00","dateModified":"2024-09-20T13:45:14+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Variables not freed from memory after using the clear(); script command | Ansys Learning Forum","og:description":"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I'm not sure how to fix it. I've managed to debug it down to an exact location in the","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/","og:image":"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid0.png","og:image:secure_url":"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid0.png","article:published_time":"2024-09-20T13:45:14+00:00","article:modified_time":"2024-09-20T13:45:14+00:00","twitter:card":"summary_large_image","twitter:title":"Variables not freed from memory after using the clear(); script command | Ansys Learning Forum","twitter:description":"Hi Ansys,here is the current memory consumption of my lumerical script while running an optimisation using LumOpt (2DvarFDTD). It keeps crashing after only a few iterations and im pretty confident I have a memory leak, but I'm not sure how to fix it. I've managed to debug it down to an exact location in the","twitter:image":"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/20-09-2024-1726838950-blobid0.png"},"aioseo_meta_data":{"post_id":"383329","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 16:28:29","updated":"2026-09-17 02:25:48","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/computer-memory\/\" title=\"computer-memory\">computer-memory<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tVariables not freed from memory after using the clear(); script command\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"computer-memory","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/computer-memory\/"},{"label":"Variables not freed from memory after using the clear(); script command","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/variables-not-freed-from-memory-after-using-the-clear-script-command\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["434126","2592"],"_bbp_author_ip":["2001:4ca0:2402:2933:bd58:8abb:d86d:cfd7"],"_btv_view_count":["497"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["383329"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","434126"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["383818"],"_bbp_last_active_id":["383818"],"_bbp_last_active_time":["2024-09-23 18:33:53"]},"test":"manuel-riegerwsi-tum-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/383329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/383329\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=383329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}