Symbol Scanner Problem

M

Mystic Mong

Hi there,

This is a bit of a re-post but it is doing my nut in!

Has anyone else experienced problems with Symbol scanners crashing after
about 250 scans? I have apps written using the Symbol SDK code to manage the
scanner in VB.NET on Symbol 8146 and 8846 units (PocketPC 2002 & 2003). The
units throw an out-of-memory exception approximately every 250 scans (it
varies from 243-260). The units do lose memory every scan until they get to
about 16MB of program memory free then stay at that level but rarely get
below that. After they have thrown the exception I can restart the scanning
form (without doing any sort of reset) and I get another 250 scans.

I've wasted loads of time testing the possibility of it being an SqlCe or
Sql memory leak but don't think it's that. I've tried varying methods of
disposing the scanner variables and using the GC.Collect but nothing seems
to make a difference. Basically, I keep coming back to the scanner being the
problem.

In almost desperation I ask - any thoughts?

Cheers

Aly
 
C

chora

I would first check the sample applications by Symbol. There must be in
an Application dir.

If the work ok, go and check the sample code for scanning. It is clear
you are having a memory leak problem.

If you fail, and as a temporary solution, try to run ScanWedge which
runs once and stays resident and activates the scanner. It also has a
configuration capability where you can customize the scanner's
behaviour.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top