Optimising Java code to run faster

Dear freelancer,

I have java code that performs technique called "Cosine Similarity" (I used a ready library) to calculate similarity between different Arabic definitions that stored in two csv files. After, it calculates similarity by using this method, then it finds the definition in file 1 that that has satisfied the highest similarity score with the definition in file 2 (if definition 1 in file 1 has similarity with definition 1, 2 and 3 from file 2, so I need the method to find the definition from file 2 that has satisfied the highest similarity score with definition 1 in file 1. Be careful please any definition in file 2 satisfied the highest similarity and do not take the other similarities that satisfied less similarity score). Then, it saves the output in a txt file and consider the UTF-8 format in the saved file for the Arabic text. The total number of rows in the first file equals 120000 rows and in the second file 17900 rows. The text is confidential so I can’t give you the text to authenticate the created method. I need to do this by myself and let you know my thoughts when you finish the code. Please check the attachment and how the two files look like and check the expected output file. All codes have been created and they are working probably, however, they are too slow and after while it returns error related to the memory which called “[login to view URL]: GC overhead limit exceeded”. It runs properly with small files, but it does not work correctly with large file as described before.


1) the code does not need for any stem or removing stop words I already did this step and save it in a csv file.

2) The first file called (file_1) and the second file called (file_2) and the output called (Expected_ouput)

So the task needed from freelancer is to check the code and try to optimise it without changing the result, so I need same result as the current code.

I need it urgently as soon as possible please !!

freelancer should be expert with:

1- Java.

3- Optimisation.

4- Analysis.

Please let me know if you are interesting in this task to send you the codes that I have created.

With Regards,


Beceriler: Java

Daha fazlasını gör: java code mobile stream client, java code redirection, perl scripts run faster, java code optimization examples, optimizing java pdf, java memory optimization, code optimization techniques in java pdf, how to improve performance in java code, java performance optimization, java optimization algorithms, java performance tuning tutorial, call java code actionscript, java code parse text file database, java code post message syslog, optimize excel code run faster, run java code web, java code run process time daily, run ec2 instanc java code, vba code run faster excel, run java code google

İşveren Hakkında:
( 8 değerlendirme ) Colchester, Saudi Arabia

Proje NO: #19595802



Hello. I'm a java expert having full experiences in 7 years and you can check my skill via reviews. I had built several java combine projects before and please contact me if you have a will to build this with me, so th Daha Fazla

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(2 Değerlendirme)

Bu iş için 5 freelancer ortalamada $76 teklif veriyor


Hi I am software engineer and have delivered many java projects. You can share more details with me so that we can negotiate the price accordingly. Thank you

$150 USD in 7 gün içinde
(51 Değerlendirme)

Hi. I read your description carefully and am very interesting in your project. I have a lot of experiences in Excel VBA developing and data mining. I can start right now and can help you. Your task is suitable with me. Daha Fazla

$50 USD in 7 gün içinde
(9 Değerlendirme)

High-quality & Fast-delivery is promised! As a highly skilled full stack developer, I have rich experience in website development. I am very confident with my skills and I'd like to help your business by doing my best. Daha Fazla

$20 USD in 7 gün içinde
(2 Değerlendirme)

Hi, I think i have understood the requirements but still not 100% sure, however, i am an experience technical architect and I am good at programming specially when it comes to debugging and code enhancing. I would be Daha Fazla

$100 USD in 7 gün içinde
(0 Değerlendirme)