MC3190 Scan application causes memory leak

M Michal Drabek 3 years 5 months ago
9 3 0

1) Time/Date: 7/27/2012

2) Response time: 3 days

3) Product: MC3190

4) OS Version: CE6

5) Clarify Case #2645044 Hi all a customer has an issue with their scan application which worked fine on MC3090 but causes memory leak on MC3190 CE6. It looks like something changes in the ScnApi32.dll in the 3190 compared to 3090, also there are slightly different samples in the EMDK for C. They are testing with loop of allocating and deallocating scan buffer (directly accessing the ..dll) which after while causes memory problem.  Scan_allocatebuffer, Scan_deallocatebuffer are the functions.  Does someone know what changes are in the particular OS versions or have some suggestions what to focus on?   Many thanks! Michal

Please Register or Login to post a reply

3 Replies

M Michal Drabek

Customer has noticed that allocating buffer memory just one time for the scanner and releasing at the end of the program would bring better result.  

Y Yoseff Zlotnick

Michal,
The customer shouldn't used the same application that compiled in CE5 environment for CE6 device. There are multiple differences, (drivers, API, etc).

They should rewrite thier application, with all the MPA2.0 changes. Or atleast recompile their application with the proper PSDK (for MC31xx CE6).

M Michal Drabek

They are accessing  ScnApi32.dll. CE 6 implementation compared to CE5  there is version difference (v0.4.0.2 vs v0.5.0.6)
·

CONTACT
Can’t find what you’re looking for?