How long can we create prime sieve?

How long can we create prime sieve ? Is it 10^7 or 10^8?

For larger values, u have to use segmented sieve…

Can we have a discussion on a call?

My doubt is in prime sieve the maximum array that we can create is of how much size?

Till 10^7 it’s working fine… u can see in my code…

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.