Printable Version of Topic

Click here to view this topic in its original format

PMView Pro Forums _ PMView - OS/2 Technical Support _ Several Problems (memory Leak?, Many Jpgs To View?

Posted by: klausph Aug 5 2005, 04:56 AM

hi

I have several problems with pmview.
maybe they depend from my hardware, maybe they depend from my network:

graphikcard: matrox mga-g550 (snap 446)
network: mainly os2, big library of graphicfiles resides on a linux(samba-newest version)-server(suse9.3), some lvd-scsi-200GB's.
to connect with network, I'm using newest NDFS32 with newest samba_plugin.
os2-pmview 3.12 (german)

in last weeks(months) there happens very often:

1. working with pmview, loading more than 1000 jpg's in file browser, who views only thumbnails, he's very slow.

2. sometimes happens, that pmview get all available free memory (=600MB) (my os2 starts with approx 800MB ram), and there is no free mem, it's like zero.

3. I must work with many thumbs. in folders there are more than 1000 thumbs. to work with them, means: copy/remove to other folders.
If I remove to another folder approx 2000 thumbs, it works.
If I repeat to work with another hundreds of thumbs, it will sometimes answer: abort,retry,ignore. (titel: to remove file from hiere to there)
sometimes at the beginning I can RETRY. later there's only possible: abort.
It helps: to restart whole computer! nothing else!
at this times, sometimes mouse_actions doesn't work IN pmview.

whats wrong with my computer?
or with pmview?
could it be question of some dll-lib-files?

its a very certain question for me. I must do go on with my work with pmview.... ;-)


thanks a lot for Your help,
yours
klaus

Posted by: Peter Aug 5 2005, 07:50 AM

This sounds like the common OS2.INI problem.

Do you regularily clean your OS2.INI with IniMaint/UniMaint? The OS/2 Workplace Shell has a bug/problem that manifests itself in a lot of "dead" handles left behind in OS2.INI. The file just grows and grows and eventually you start to experience problems.

If you've never cleaned your OS2.INI, that will very likely solve your problem.

You can work around the problem by telling PMView NOT to use the WPS: Make sure that the "Use Workplace Shell APIs for copy/move/delete" option on the "Special" page in PMView's options notebook is disabled. I strongly recommend disabling this option if working with thousands of files.

Also, I've heard that the OS/2 Samba driver has some problems (especially with Extended Attributes). If you work on a Samba drive, that may well be the cause of the problems...

Posted by: klausph Aug 6 2005, 06:53 PM

hi peter, thank you for your replie


[maybe my quotes are not very correct....]

QUOTE (Peter @ Aug 5 2005, 08:50 AM)
This sounds like the common OS2.INI problem.

=sounds good.

Do you regularily clean your OS2.INI with IniMaint/UniMaint? The OS/2 Workplace Shell has a bug/problem that manifests itself in a lot of "dead" handles left behind in OS2.INI. The file just grows and grows and eventually you start to experience problems.

=approx 4-6 times per year, I'm cleaning my ini's with unimaint/checkini AND xfix from xworkplace. betweeen this cleanings ofcourse: reboot:workplace ;-)
without this, working with pmview would be impossible.


You can work around the problem by telling PMView NOT to use the WPS: Make sure that the "Use Workplace Shell APIs for copy/move/delete" option on the "Special" page in PMView's options notebook is disabled. I strongly recommend disabling this option if working with thousands of files.

= it's disabled since years ;-)


Also, I've heard that the OS/2 Samba driver has some problems (especially with Extended Attributes). If you work on a Samba drive, that may well be the cause of the problems...
*


= I' don't want to use ext.attribs. Are they for usually enabled?


yours
klaus


Nb: I'm beginning to use THESEUS(V4), to see memory leaks. but I'm not very shure to use this program. Do You know any hint?

Posted by: Guest Aug 7 2005, 03:56 AM

hi


here's something from my smb.conf: it could be find some interestings ;-)

force create mode = 0640
force directory mode = 0750
create mask = 0640
directory mask = 0750
case sensitive = no
~~!
default case = lower
~~~!
preserve case = no
~~! this may be VERY certain ;-)
short preserve case = no
~~!
large readwrite = yes
~~!

whats about this?:
# write cache size = 50000
is it certain?


thanks
klaus

Posted by: klausph Aug 11 2005, 02:27 PM

hi peter

ok, ok. maybe, there are probs with "samba-filesystem".

but last but not least: I have memory leaks!
working with pmview. all other porgramms get lost. after ending with pmview.
pmmail doesn't want to work. firefox also. and some other programs.
I have to restart all machine.
THIS doesnt have basics in samba, or?


does there exist one tool, which with I can define those obscure(?) memleaks?



yours
klaus

Posted by: Peter Aug 12 2005, 09:49 PM

There are no known memory leaks in PMView. Also, if the memory is still gone when exiting PMView, you can be sure that the leak is not in PMView.

An OS/2 APPLICATION cannot, I repeat CANNOT, leak memory. It can hog memory, but all memory is instantly released when the application quits. (This is a feature of OS/2 - OS/2 will reclaim all memory when an application quits. There is no way for an application to keep the memory unless it installs low-level drivers to do this "dirty work". Low level driver like this need to reside in system loaded DLLs. PMView v3.10 does not have anything like that since the riddance of the DMDeamon that is no longer needed since v3,10).

Memory leaking components are generally system compnents (e.g. drivers) that stay loaded. Display drivers, file system drivers, etc. are such candidates...

Thanks,

Posted by: klausph Aug 15 2005, 03:29 AM

hi peter
thanks für your answer,

I have tested several times in last days:

-with normal mouse (basic_device:os2)
=same errors

-NOT on samba_drives. only on two different harddisks ON my system: both jfs
=same errors

"errors" means:

a. "can't do this"[somethink like this]: abort,retry,ignore
its only possible: to abort.

b. after this, and closing pmview:
it's unpossible to start a java_app ("can't find java*.dll") or other app's, they need dll's.
explanation FOR ME: it seams, var: libpath is destroyed by pmview?. only possible: reboot.

I have asked several times for tools, which them I can have a closer look on this malfunctions. doesn't anybody here know so a like tool? and how to use?

thanks a lot!
yours
klaus



QUOTE (Peter @ Aug 12 2005, 10:49 PM)
An OS/2 APPLICATION cannot, I repeat CANNOT, leak memory. It can hog ...memory, but all memory is instantly released when the application quits. (This
Memory leaking components are generally system compnents (e.g. drivers) that stay loaded. Display drivers, file system drivers, etc. are such candidates...
*

Posted by: klausph Aug 15 2005, 03:44 AM

I've forgotten to report:

the first movements works. 10 pix or 20pix. after than: errors!

error:
file xyz.jpg cant' be moved from harddisk one to harddisk two.
abort/repeat/ignore

my tests:
I marked several hundreds(!!) (thousands?) of pix, and want them to move.

what goes there wrong?

thanks
klaus

Posted by: Peter Aug 16 2005, 08:38 PM

Sounds like a file system error. Something is probably wrong with your OS/2 installation (buggy drivers, etc.)

Peter

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)