cancel
Showing results for 
Search instead for 
Did you mean: 

UI API MEMORY LEAK on SBOApplication.SendKey("{TAB}")

former_member57406
Discoverer
0 Kudos

Dear Team,

We have a large loop on Application.SendKey("{TAB}").

Pseudocode for the test case is as follows.

for(int I = 0 ;I< 10000;i++)

{

SAPbouiCOM.Framework.Application.SBO_Application.SendKeys("{TAB}");}

this will eventually increases SAP Business One memory size and eventually system gives out of memory exception and breaks down.

Please let us know how to release the occupied memory on each iteration.

We have tried GC.collect() and failed to release memory.

Kind Regards,

Muhammad Imran

Accepted Solutions (0)

Answers (0)