Take limited size of flow table inside switch. Use traffic injection by using any available/existing data sets. Using flow prediction by using any technique of machine learning to predict the total number of upcoming new flows. Take decision for the predicted value of new flows. If overflow, Mitigate this overflow by using any mechanism for prevention. Otherwise in other case, the early eviction will be done to delete the required number of flows.