My Application display HTML pages from DirRootExternal that contains GIF file every 30 sec . After some hours of running in debug mode, I have got " ...EMFILE (Too many file open)" error. Please look at uploaded file. What maybe the reasons?
The sub for display:
Dim o AsReflector
WebView1.ZoomEnabled=False
'
IfintGif<1ThenintGif=1
IfintGif>GetClipCount ThenintGif=1
o.Target =
WebView1
o.RunMethod2(
"clearCache","True","java.lang.boolean")
WebView1.LoadUrl("file://" & File.Combine(File.DirRootExternal & "/Adverts", "clip" & intGif & ".htm"))
intGif=intGif+1
The sub for display:
Dim o AsReflector
WebView1.ZoomEnabled=False
'
IfintGif<1ThenintGif=1
IfintGif>GetClipCount ThenintGif=1
o.Target =
WebView1
o.RunMethod2(
"clearCache","True","java.lang.boolean")
WebView1.LoadUrl("file://" & File.Combine(File.DirRootExternal & "/Adverts", "clip" & intGif & ".htm"))
intGif=intGif+1