Is it safe for adding 10,00,000 records/objects to
HashMap?, i.e is it safe to add millions of objects to
HashMap?

Answer Posted / kishore kumar

No,
It may not work in low memory systems.
If you want to show the all the records from the database,
then simply use the concept of pagination.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an interoperable application in java ?

754


Why string is immutable or final in java

837


What is size_t?

707


Explain the difference between a Thread and a Process.

766


Is java developer a good career?

765


What is the definition of tree ?

752


Why Java doesn’t support multiple inheritance?

809


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

1066


Explain about transient variables in java?

843


Define locale.

797


Which is easier netbeans or eclipse?

808


what is the major difference between linkedlist and arraylist in java?

764


What is nextline method in java?

786


Explain spliterator in java8?

783


Can we restart a dead thread in java?

738