+ 4

JavaScript file on local harddisk. Is there an upper size limit and what size is it?

I want to store extensive random data on my notebook at the office. My rights on that computer are very limited so that I cannot install a compiler or interpreter software. The only means which enables me to write and save software on my local harddrive would be to write it with the famous Windows Notepad and to achieve this with HTML, CSS and JavaScript. There is my question: Is there an upper size limit for JavaScript-files? (on the computer is Internet Explorer 11)

15th Apr 2018, 9:39 AM
Jan Markus
5 Answers
+ 3
@Jan Markus that sounds quite complex, but if you plan to write the JavaScript array into a file, plain text format, I suppose it can't grow too large that we need to worry about its size, notably you mentioned that a hyperlink will be used to point to physical content (PDF files etc.), my concern primarily lies on how this data can hold its links integrity, for example, if a file pointed to by a hyperlink is deleted or moved, then the hyperlink turn into a dead link. I hope you can find a way to resolve this soon, personally I haven't done something like this before, hopefully someone here can assist you further away. Best of luck : )
15th Apr 2018, 10:35 AM
Ipang
+ 3
@ Ipang Many thanks for your detailed reply! That the file size concerning the limits of the operating system would not be the "bottleneck" was clear to me. What I don't know is the question of practicability concerning the internet explorer. Here it would be interesting whether it would need a (felt) eternity to render such a huge amount of data. What you mentioned with file integrity are my concerns, too. I would store the files on the same local drive and took care that nothing would be disturbed. Long time I had the just mentioned variant in mind. In the meantime I think about a solution with the portable app of Python together with a SQLite database, and a GUI based on Tkinter. And there could also be a solution for integrity between the database and the associated PDF-files in the form of MD5 sums, because every file will be recorded with filename and MD5 sum. If the PDF is renamed or moved, then it should be relatively easy to guess the new name and directory.
15th Apr 2018, 11:47 AM
Jan Markus
+ 2
What is this "extensive random data" you're referring to exactly? if you need large data management I guess your best option would be to use databases, unless you have a particular reason not to. Regarding file size, if you're on active directory domain then a domain admin might possibly have set disk quota, although with today's disk size they will find it more of a hassle rather than a solution, I don't recall Windows have an "extension specific" file size restriction, but I could be wrong : ) Given the fact of the limited privilege on that machine, is there a chance to run portable programs that you can get away with user limits?
15th Apr 2018, 9:54 AM
Ipang
+ 2
The data will be of 2 kinds: 1) A list of literature, in most cases reports, business letters, e-mails, expert's reports or engineer standards. Each data set should contain data like title, author(s), short summary, reference number(s), date of issue, revision-index, institution which created the document, personal notes, ... The full documents would be linked by hyperlinks to their PDF files on the lokal harddisk. 2) Daily notes and references to the documents of 1). The way I wanted to do this task would be to store data in a javascript array and at the end of the code I wanted to add new data.
15th Apr 2018, 10:16 AM
Jan Markus
+ 1
thanks for following me
17th Apr 2018, 5:04 PM
Tasmim Rahman