<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Memory issues are a common… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78846#M30823</link>
    <description>Memory issues are a common theme in Blue Prism issues, but I haven't encountered or seen others encounter your specific issue before. That doesn't mean others aren't having the issue. More and more people are expanding to use Chrome automation, so I guess it's possible you've found a problem many others will eventually run into. I don't personally have any knowledge of how it could be that garbage collection is handled differently for data that is written into Chrome, but I suppose it's possible. I think I'll try to reproduce this later on. I'll come back and reply again if I'm able to make it happen as well.
Have you submitted a ticket to Blue Prism on this? I know you posted in the forum and Blue Prism support may peruse the forums, but the quickest way to get support for such an unusual problem is to submit to them directly. You'll probably want to let them see the problem occur if possible. It sounds like you know how to reproduce the issue so that's good at least.</description>
    <pubDate>Thu, 07 Mar 2019 17:54:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2019-03-07T17:54:00Z</dc:date>
    <item>
      <title>Memory not cleaning up after object ends</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78841#M30818</link>
      <description>Hi everybody,

We're having some issues with memory running my process. We've already implemented all the recommendations BP made in this article: &lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1141009962.&amp;nbsp;" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1141009962.&amp;nbsp;&lt;/A&gt;

Also, we took in count the process solution design document, avoiding the use of child processes inside loop of the parent process. We're&amp;nbsp;using objects inside loop of the&amp;nbsp;main process.

This process uses 2 applications, basically takes the info from one and paste it in&amp;nbsp;the other, in the middle there're some validations and data conversions using some equivalence lists within excel. We've avoided using collections filtering. We attach and detach from the applications when needed.

Both of the applications are web based and modeled with Google Chrome.

We notice that the memory goes up particullarly when writing the new data onto the target system. When it finish writing there's no memory freeing up, It always goes up, and off course after sometime (around 30 cases), the process stops. For every case the memory rise up around 20~30 MB and doesn't release any of it.

When the message "Automate.exe has stopped working" appears, the memory is around 1.3~1.4GB.&amp;nbsp;
We've run the process in debug mode and control room, but we get the same result all the time.&amp;nbsp;

Another thing we tried was reducing the application modeller from 250+ elements to around 120, using a lot of dynamic inputs. There's not a noticiable impact within the memory.

We also tried using Firefox, and the result was the same.&amp;nbsp;

Anyone have some suggestions?&amp;nbsp;</description>
      <pubDate>Tue, 05 Mar 2019 20:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78841#M30818</guid>
      <dc:creator>CarlosPires</dc:creator>
      <dc:date>2019-03-05T20:29:00Z</dc:date>
    </item>
    <item>
      <title>As long as the process is…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78842#M30819</link>
      <description>As long as the process is running, objects and the state of all of their contents will remain in memory. If they didn't, you'd need to constantly reattach, and having global data items would be unfeasible.&amp;nbsp;
The best thing I can suggest is to try and clear out data you no longer need as you go along, especially when it comes to collections. Suppose you have an action with a collection as an input, then the action spits out either another collection or something different entirely. As long as your input data isn't also being sent back out, you can use a calculation stage to empty it out before you reach the end stage on your action.</description>
      <pubDate>Tue, 05 Mar 2019 21:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78842#M30819</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-03-05T21:55:00Z</dc:date>
    </item>
    <item>
      <title>We already did that. We…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78843#M30820</link>
      <description>We already did&amp;nbsp;that. We clear all collections that are not sent as outputs&amp;nbsp;at the end of every action.
Also we modified the Collection Manipulation VBO, so it clears all incoming collections for every action.</description>
      <pubDate>Tue, 05 Mar 2019 22:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78843#M30820</guid>
      <dc:creator>CarlosPires</dc:creator>
      <dc:date>2019-03-05T22:43:00Z</dc:date>
    </item>
    <item>
      <title>If you have multiple actions…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78844#M30821</link>
      <description>If you have multiple actions returning big collections, I'd also make them public and run the separate action to clean them up after collection is returned.
It does not seem to be the problem in your case, although I can't be sure, but we noticed that even when process finishes with objects still containing big collections in memory, they don't seem to be garbage collected until that object is initialized for the next time, causing automate.exe process leaking memory after process ends.
Cleaning up output collections and forcing GC seems to resolve it.</description>
      <pubDate>Wed, 06 Mar 2019 04:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78844#M30821</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2019-03-06T04:08:00Z</dc:date>
    </item>
    <item>
      <title>We've already made all…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78845#M30822</link>
      <description>We've already made all possible optimizations we've found here.
I'm starting to think there's some issue in how BP handles Chrome interactions and how those objects are being disposed. Are we the only ones with this problem around here?</description>
      <pubDate>Wed, 06 Mar 2019 21:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78845#M30822</guid>
      <dc:creator>CarlosPires</dc:creator>
      <dc:date>2019-03-06T21:45:00Z</dc:date>
    </item>
    <item>
      <title>Memory issues are a common…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78846#M30823</link>
      <description>Memory issues are a common theme in Blue Prism issues, but I haven't encountered or seen others encounter your specific issue before. That doesn't mean others aren't having the issue. More and more people are expanding to use Chrome automation, so I guess it's possible you've found a problem many others will eventually run into. I don't personally have any knowledge of how it could be that garbage collection is handled differently for data that is written into Chrome, but I suppose it's possible. I think I'll try to reproduce this later on. I'll come back and reply again if I'm able to make it happen as well.
Have you submitted a ticket to Blue Prism on this? I know you posted in the forum and Blue Prism support may peruse the forums, but the quickest way to get support for such an unusual problem is to submit to them directly. You'll probably want to let them see the problem occur if possible. It sounds like you know how to reproduce the issue so that's good at least.</description>
      <pubDate>Thu, 07 Mar 2019 17:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78846#M30823</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-03-07T17:54:00Z</dc:date>
    </item>
    <item>
      <title>Yes, I've already submitted…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78847#M30824</link>
      <description>Yes, I've already submitted a ticket to Blue Prism. They're looking into it, It's taking a little bit more than what we were expecting.&amp;nbsp;
This issue is happening in more than one task, each of them developed by a different developer, using Chrome and everyone already implemented all the recommendations.</description>
      <pubDate>Tue, 12 Mar 2019 19:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78847#M30824</guid>
      <dc:creator>CarlosPires</dc:creator>
      <dc:date>2019-03-12T19:24:00Z</dc:date>
    </item>
    <item>
      <title>Carlos,
we are also…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78848#M30825</link>
      <description>Carlos,
we are also encountering same issue. Do you have any updates on this.
Thanks in advance...</description>
      <pubDate>Fri, 15 Mar 2019 20:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78848#M30825</guid>
      <dc:creator>JayaPrakash</dc:creator>
      <dc:date>2019-03-15T20:13:00Z</dc:date>
    </item>
    <item>
      <title>Hi Jaya,
Not for now. BP…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78849#M30826</link>
      <description>Hi Jaya,
Not for now. BP support team has escalated the issue to the BP Product team. I'd suggest you to create a ticket and submit all evidence, so if this is a major issue related to the Chrome Extension they may diagnose it and help us all solving it.
As a workaround we are executing our tasks limiting the number of cases per run and running them multiple times as needed.&amp;nbsp;
Regards,
Carlos</description>
      <pubDate>Mon, 18 Mar 2019 21:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78849#M30826</guid>
      <dc:creator>CarlosPires</dc:creator>
      <dc:date>2019-03-18T21:32:00Z</dc:date>
    </item>
    <item>
      <title>Hello Carlos,
My team is…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78850#M30827</link>
      <description>Hello Carlos,
My team is facing the exact same problem and when we logged a ticket, we were advised that Chrome 72 is compatible only with Blue prism 6.2.4 version., so we were asked to upgrade., We are yet to do that., Are you on 6.4 or 6.4.2?&amp;nbsp;
Regards
DV
&amp;nbsp;</description>
      <pubDate>Tue, 19 Mar 2019 16:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78850#M30827</guid>
      <dc:creator>DevikaMurugesan</dc:creator>
      <dc:date>2019-03-19T16:41:00Z</dc:date>
    </item>
    <item>
      <title>Hi DV,
Right now our…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78851#M30828</link>
      <description>Hi&amp;nbsp;DV,
Right now our environments are on v6.4, I've tried upgrading BP to v6.4.1 and v6.4.2 in development environment, also downgrading to v6.3.1. For all tests I've installed the supported Google Chrome version and BP extension.&amp;nbsp;
Conclusion: In every test the memory issue persists, there's no noticeable improvement on memory management.
BP support team told me the same as you, so I recorded videos and gather evidence of the error in all versions and send them back.
Chrome elements recognition is not our issue, as far as you have the supported version of chrome installed within your BP version, that shouldn't be a problem.
Regards,
Carlos</description>
      <pubDate>Tue, 19 Mar 2019 21:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78851#M30828</guid>
      <dc:creator>CarlosPires</dc:creator>
      <dc:date>2019-03-19T21:41:00Z</dc:date>
    </item>
    <item>
      <title>Latest BP support answer:
""I…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78852#M30829</link>
      <description>Latest BP support answer:
""I've received feedback from our Product Team on this issue. They've been able to reproduce the System.Out.Of.Memory exception with Chrome Processes and have confirmed that the root cause is due to a known issue (memory leak) in Blue Prism. The reference/tracking number for this issue is BG-2612. As the root cause is a memory leak in the BP product, there are no workarounds currently available. A permanent fix for this issue should be tentatively released as part of BP v6.5, which is slated to be generally available towards the end of April 2019.""
Hope it helps some of you.
&amp;nbsp;</description>
      <pubDate>Thu, 21 Mar 2019 22:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78852#M30829</guid>
      <dc:creator>CarlosPires</dc:creator>
      <dc:date>2019-03-21T22:49:00Z</dc:date>
    </item>
    <item>
      <title>Hi Carles,
Thank you very…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78853#M30830</link>
      <description>Hi Carles,
Thank you very much for the update...It will be very helpful information for my team</description>
      <pubDate>Fri, 22 Mar 2019 16:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78853#M30830</guid>
      <dc:creator>JayaPrakash</dc:creator>
      <dc:date>2019-03-22T16:53:00Z</dc:date>
    </item>
    <item>
      <title>Hello Carlos,
Thank you for…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78854#M30831</link>
      <description>Hello Carlos,
Thank you for the updates., Let's hope this 6.5 fixes the issue., My team is also looking at option to even stay away from Chrome browser and use IE11 instead.,&amp;nbsp;
Regards,&amp;nbsp;
DV</description>
      <pubDate>Wed, 27 Mar 2019 19:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Memory-not-cleaning-up-after-object-ends/m-p/78854#M30831</guid>
      <dc:creator>DevikaMurugesan</dc:creator>
      <dc:date>2019-03-27T19:24:00Z</dc:date>
    </item>
  </channel>
</rss>

