Re: Confused... (solved, kinda)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reg Clemens wrote:
>> Reg Clemens wrote:
>>> #define LINES 500000
>>>
>>> /* this is the (uncomplteted code to run from AUB to delete
>>>         files (coming in) that are already in the database */
>>>
>>> char    lines[LINES][200];
>> That 500000*200 may be causing problems.
>> Try with 500*200; will the program start?
>>
>> I remember to have experienced a similar issue in the past.
>> A test with 500000*200 on FC5 worked well here.
>>
> Well, Roberto has identified the problem, tho I don't understand
> the why of what the underlying problem is.
> 
> Reducing the 500000 to 300000 and it works, upping it to 400000
> causes it to fail.  With 500000 its only 100MB so I dont see how
> that should be a problem (the machine has 1GB of memory).
> AND of course, the fact that it worked with 500000 up until
> yesterday.  Some library must have changed out from under 
> me,- Ill have to look at the YUM updates.

I'd bet there is a 64MB threshold somewhere.

> Its too late tonight to attempt to recode this, but perhaps if I
> malloc the space rather than just allocating it.

Did you try that?

Best regards.

-- 
   Roberto Ragusa    mail at robertoragusa.it

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux