You didn't mention your OS, scratch disk file system, empty space, RAM
and PTGui version...
--
Erik Krause
http://www.erik-krause.de
I don't know about your particular file system, but some FS are limited
in the number of files per directory. See f.e. footnote 8 on
http://www.inthelight.co.nz/techo/pcfilesystem.htm
So do you mean I should not even try using Windows 7?
Greg
> --
> You received this message because you are subscribed to the Google Groups "PTGui" group.
> To post to this group, send email to pt...@googlegroups.com
> To unsubscribe from this group, send email to ptgui+un...@googlegroups.com
> Please do not add attachments to your posts; instead you may upload files at
> http://groups.google.com/group/ptgui/files
> For more options, visit this group at http://groups.google.com/group/ptgui
I manage to open the file fully now, manipulate it a bit (fov, numerical yaw and pitch change and save).
Unfortunately the file still crashes on trying to save after Generation of control points; I open another thread as I think that this might not ne related to that.
Solution for Open Files limit
To change the limits without having to come back to it (except OS upgrades maybe)
1 files is needed in /etc/
and not the sysctl.conf as I previously thought
launchd.conf
limit maxfiles 65536 65536
the first number is per user/process, the second for system.
Default for system is unlimited, but changing the first value (originaly at 256) and keeping the second unlimited return an error saying that it can't be set to unlimited (when changed from terminal, if unlimited is used in launchd.conf file the command is simply ignored and limits kept at default)
To create or open launchd.conf in /etc/ use the pico command:
sudo pico /etc/launchd.conf
These values will automatically change the sysctl limits to 65536 also
To check limits after reboot:
launchctl limit
should return
maxfiles 65536 65536
sysctl -a | grep maxfiles
should return
kern.maxfilesperproc=65536
kern.maxfiles=65536
sysctl -a | grep num_files
will give you the number of currently open files (total I think but not sure)
ulimit -a
should return
open files (-n) 65536
Needless to say I manage to find this through error and trial and reading threads.
I was lucky not to have my trials and errors making my system unusable or not to loose all my data (well, I have strong backups so that would be really unlucky).
Of course I do not warranty that someone else will be as lucky as I have been when trying this. This is someone else's own risk… so npot to be done unless needed (running into same problem).
I chose 65536 but it is possible to choose less, and probably more also, but I haven't tried it.
sysctl -a | grep num_files
will give you the number of open files
Thanks for reporting the problem and figuring out the workaround, this
is very useful to know.
I'll make a next version of PTGui less 'file hungry'; currently it keeps
the temp files open as long as they exist but PTGui could close some
files and reopen them when needed.
The issue is mac only; on windows one can open hundreds of thousands of
files.
If PTGui is crashing the crash log would probably provide detailed
information. Please send it to me at sup...@ptgui.com (or contact me if
you don't know where to look for the crash log).
Joost
Joost
That sounds like a good idea ;-D
For the crash log look my other post about loading UI elements from framework.
It can't because it has reached a limit for open files, and then crashes.
I can still send you the logs if needed.
Greg
This data is from Help - System Information in PTGui.
What does the 'max number of open files' line say on your system? Could
you send me the full contents of System Info by email?
Joost
Ah yes, PTGui doesn't attempt to increase the limit beyond 20000 (or
slightly less as you see). A classic case of '640k ought to be enough
for anyone' :-) Will be fixed in the next update.
Joost
>> <mailto:pt...@googlegroups.com>
>> To unsubscribe from this group, send email to
>> ptgui+un...@googlegroups.com
>> <mailto:ptgui+un...@googlegroups.com>
mmmh yes ok. I am in BootCamp now on the same MacPro, Windows 7, reorganised my hard drives for it.
No more problems really, opened the file, generated control points, saved.
I cannot optimise yet because somehow RodeonPreview registered a column of files at the wrong position so I have to reorganise that a bit.
I said mmmh because I'd prefer to stick with OSX on my Mac Pro, but this is really for this huge pano only so as soon as its done I'll be back to my usual environment (until next time if you haven't updated before). Not the first time I'm force into Windows for some stuff so I don't mind really, and I have my MacBookPro to feel "home" ;-D.
Hoping to see a great update very soon. Carry on the good work.
cheers
Greg