Cannot open text file containing 20 million lines - eclipse

I want to open a large text file (400MB) which contains 20 millions lines of domain addresses.
This is the file when I open it normally:
But when I open it in Eclipse I get this error:
I tried to change Xms6000M but it's not working!!
Does anyone have a solution to this problem?

Use the current version of Eclipse instead of the outdated one you have.
If required, increase -Xmx in the eclipse.ini file.

Related

How can I find out what file mode VSCode is using for an open file?

I was trying to get yapf configured for a Python project, and so I created a .style.yapf file, which VSCode did not recognize by its extension. I thought it was in TOML format, but when I changed the file association for .style.yapf to TOML, the parser shows an error (because values aren't quoted). So I tried changing the name of the file (not really a solution, because the tool is looking for a file with that name), and found that if I change it to a name ending in .cfg, VSCode seems to parse and highlight it appropriately. Unfortunately, there doesn't seem to be anything in the list of file associations corresponding to this file mode.
I expected to find a cfg mode in the file associations list, but there wasn't an entry with that name, nor was there an entry that used the same gear icon displayed next to the open file name in its tab (which I have been assuming is an indicator of the mode that VSCode is using to display and format the file).
Is there any way for me to get VSCode to tell me what the current file mode is for an open file? Or give me a list of the default associations?
I'm more interested in understanding the tools in general than solving the one minor annoyance that sparked the question, but I'll settle for a solution to that problem, too.
Edit: Here's the content of the .style.yapf file in question:
[style]
based_on_style = google
If I rename the file to .yapf.cfg (or any other name ending in .cfg, I believe), it gets handled properly, but all of the file associations I've tried (including ini, Properties, and TOML) indicate an error because there are no quotes around google.

How can I input the data to neuroph studio?

I am trying to train the neural network with .cvs format data but while loading the file there is an error saying bad number format in the dataset file. I also normalized the file. what can I do???? please help me
Hey there may be hidden characters you can't see in your file.
if you have Open/Libre office open the .csv file in that.
Then save it as a new file but make sure to tick the box "edit filter settings"
It will ask you if you what "Character set" you want to use, try selecting different ones, i used "Western ASCII" and save it.
Open it in a notepad like app and you will probably see lots of "?"'s next to numbers.
Once i deleted those non numbers the data became usable.
Open the file cvs with the notepad and choose: Save as.
In the coding part you must choose: ANSI
I solved this task just removing the headers line.

Liquid-XML Editor Line Numbers for text files

I am able to open large files and it works great, however I do not get line numbers even though that option is on by default. It does for xml files, but a text file with .xml extension does not.
Any ideas on how to get the line numbers or maybe the software is not meant to do that?
The Large File Editor does not display line numbers.
It does have the concept of lines, so you can move to a specific line using menu Edit->Go to... (Ctrl+G).
Depending on your PCs specification, you may be able to open larger files without invoking the Large File Editor, please see:
Opening Large XML Documents in Liquid XML Studio

SQL Developer won't attempt to import an .xlsx file because it's too large

I have two .xlsx files that total 1.6 million rows, and I'm trying to import these things into SQL Developer.
I right click the table name and select "Import Data..." and then select my file and nothing happens. It logs my attempt to open this file in the "File - Log" output
This is two separate attempts to import the same file logged here. When I click one of them, I get the following message:
However, I know that this warning is not true, because my attempts with importing a smaller .xlsx file are successful. So I figured the problem was just the file size is too large, and tried to change the memory available. I went into "C:\Users\User\Documents\sqldeveloper\sqldeveloper\bin" and changed sqldeveloper.conf to change one existing value to
AddVMOption -XX:MaxPermSize=2048M
and added another value
AddVMOption -Xmx2048M
Which helps the Java VM according to this source:
http://codechief.wordpress.com/2008/07/30/configuring-oracle-sql-developer-for-large-files-fix-out-of-memory-errors/
But this did nothing for me, and I still receive the same errors. I am using SQL Developer version 3.2.20.09 but I have also tried this on 4.0.1.14 to the same effect.
Many thanks!
I tried looking into SQL*Loader. Apparently you should be able to right click a table > Import Data > next and there should be an option to generate SQL*Loader files.
Unfortunately, not only did the import wizard not open with my large .xlsx files, the SQL*Loader option was not even present for smaller .xlsx files, or even .xls for that matter.
In the end, I decided to convert my .xlsx files into .csv and import those instead. This worked for all but 4 rows of my 1.6 million, and gave me the insert statement for those 4, of which 2 worked when run with no additional modifications.
In case of large volume of data, add a line "AddVMOption -Xmx4096M" to the sqldeveloper.conf file and even if it is not working change your file to *.csv format instead of *.xls. It will work fine.

How To Increase heap space in eclipse

I have a project in which i want to implement around 6000 else if statements , but the problem is when i paste the code in my java file, i get two errors , and the text cannot be pasted in the java file.i was thinking if there is a way to store else if statements in Strings.xml like strings are saved or can the code be split into two class files?
here are some screenshots of the errors i get
error 1 http://pho.to/4I2Zh
error 2 http://pho.to/4I2c8
The large heap will be the same as normal heap until your app needs more memory for a task. Put this line in the application tag. However this works above api level 15 :-
android:largeHeap= true
For Eclipse, edit the eclipse.ini file and add these lines :-
-Xms40m
-Xmx512m
If these lines are alraedy present, just change the values