473,382 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Fopen w, file size limit is giving problems when the file reach 380kb

i have w7, php, apache, i need to ¨copy¨a report into a text file in text mode (.csv), i create the file at the same time that the report is been created as a html table, when the Csv file reach 380kb the webpage just freeze, do not show any error. with small reports the php script works just fime, but the problem is with a report with more than 1200 lines or 380kb, any help or support will be appreciated.
Jan 11 '14 #1
4 1393
Luuk
1,047 Expert 1GB
hmm, i'd like to see the code that does this... ;-)
Jan 12 '14 #2
hi luuk, is an fopen/fwrite command, nothing new, live an email i send you a sample of the code.

i just detect this situation: i can not read more than 2410 records, i thied with 2 differet ways to create the file and get the same error and the same result, it look more like a problem with mssql, i can not find documentation about this restriction.
Jan 13 '14 #3
a correction with the filesize, is 481kb, i filter some quotes to reduce the file size and i get the same problem, no more than 2410 lines.
Jan 13 '14 #4
i just find the error, my mistake, please forget this issue.
i increase the buffer to 1024m, the max_time time to 300 secs.
a mistake was in the function's params that reads the database (where the error really was) thanks a lot for the help, luuk: send me your email.
Jan 13 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: lvcha.gouqizi | last post by:
I embed an applet in my php script which has a parameter providing an input file for the jar. Does this file has size limit? The code is as follows: <APPLET ARCHIVE="myapplet.jar" WIDTH=372...
2
by: Milan | last post by:
Hi! I am loading XML file this way: oDom = Server.CreateObject("Microsoft.XMLDOM") oDom.async = False If oDom.Load(Server.MapPath("lang/EN.xml")) Then GetXMLDocument = oDom.documentElement...
2
by: steve | last post by:
I am setting up a huge database in mysql, and I get the above error in Linux. I believe it is related to the size of one of my tables, which is 4,294,966,772 bytes in size. Can someone help. How...
8
by: Peter Ballard | last post by:
Hi all, I've got a C program which outputs all its data using a statement of the form: putchar(ch, outfile); This has worked fine for years until it had to output more than 2GB of data...
0
by: Ben | last post by:
I use the following method to export data to an excel file. Is there a size limit? It seems that the size is big (about 2, 3 MB), it hangs when attempt to open the file. Response.Clear() ;...
1
by: Amod | last post by:
Hi, I m copying data from a video stream on the hard disk using a C++ programme in win32 API. my current file system is FAT32 .. the file size limit of FAT32 is 4GB. I want to automatically split...
1
by: Amod | last post by:
Hi, I m copying data from a video stream on the hard disk using a C++ programme in win32 API. my current file system is FAT32 .. the file size limit of FAT32 is 4GB. I want to automatically split...
9
by: eastcoastguyz | last post by:
I wrote a simple program to continue to create a very large file (on purpose), and even though there is plenty of disk space on that device the program aborted with the error message "File Size...
3
by: Kevin Audleman | last post by:
Yesterday my site unexpectedly stopped loading. I tracked it down to the CSS file for the site. When I commented it out, the site was okay. When I put it back in, it was not. I tried connecting to...
5
by: bobh | last post by:
HI, I understand AccessXP file size has a 2 gig limit but I trying to understand the following I have a tab delimited data file that is 1.3 gigs big and I try to import it into an empty...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.